* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #000000;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.03) 0%, transparent 50%);
    min-height: 100vh;
    color: #ffffff;
    direction: rtl;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 165, 0, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.user-info-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.user-welcome {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
}

.logout-btn {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #f87171;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: rgba(248, 113, 113, 0.3);
    border-color: rgba(248, 113, 113, 0.8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.3);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 52px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    letter-spacing: 3px;
    text-transform: lowercase;
    font-family: 'Poppins', 'Cairo', sans-serif;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.logo-ez {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.logo-gold {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 50%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate-reverse;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.logo-icon {
    font-size: 36px;
    animation: sparkle 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)) 
                drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9)) 
                drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

.logo-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.balance {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance .label {
    font-size: 14px;
    opacity: 0.9;
}

.balance .value {
    font-size: 18px;
    font-weight: 700;
    color: #4ade80;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Market Overview */
.market-overview {
    margin-bottom: 30px;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 215, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.stat-value.positive {
    color: #4ade80;
}

.stat-value.negative {
    color: #f87171;
}

/* Main Content Layout */
.main-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 1400px) {
    .main-layout {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .telegram-sidebar {
        order: -1;
        max-height: 400px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Telegram Sidebar */
.telegram-sidebar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: calc(100vh - 200px);
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.telegram-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 215, 0, 0.05);
    position: relative;
}

.telegram-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', 'Cairo', sans-serif;
    letter-spacing: 1px;
}

.telegram-title .title-word {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.telegram-title .title-word:first-child {
    animation-delay: 0s;
}

.telegram-title .title-word:last-child {
    animation-delay: 1.5s;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4))
                drop-shadow(0 0 15px rgba(255, 215, 0, 0.2));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7))
                drop-shadow(0 0 25px rgba(255, 215, 0, 0.4));
        transform: scale(1.05);
    }
}

.telegram-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-badge.pulse {
    animation: pulse-strong 0.5s ease-in-out;
}

/* Notification Toggle Button */
.notification-toggle-container {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 215, 0, 0.03);
}

.notification-toggle-btn {
    width: 100%;
    position: relative;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
}

.notification-toggle-btn:hover::before {
    left: 100%;
}

.notification-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.2);
}

.notification-toggle-btn:active {
    transform: translateY(0);
}

.notification-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.notification-toggle-btn.active .notification-icon {
    animation: bell-ring 0.5s ease-in-out;
    transform: rotate(-15deg);
}

@keyframes bell-ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.notification-text {
    flex: 1;
    text-align: right;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.notification-toggle-btn.active .notification-text {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.notification-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.notification-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.notification-toggle-btn.active .notification-slider {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.notification-toggle-btn.active .notification-slider::after {
    left: calc(100% - 20px);
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    transform: scale(1.1);
}

.notification-toggle-btn:not(.active) .notification-slider::after {
    left: 2px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
}

@keyframes pulse-strong {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.telegram-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
    max-height: calc(100vh - 300px);
}

.telegram-messages::-webkit-scrollbar {
    width: 6px;
}

.telegram-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.telegram-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.telegram-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

.telegram-message {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.telegram-message:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.telegram-message.new {
    border-left: 3px solid #FFD700;
    background: rgba(255, 215, 0, 0.08);
}

.telegram-message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.telegram-message-sender {
    font-weight: 700;
    color: #FFD700;
    font-size: 14px;
}

.telegram-message-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-right: auto;
}

.telegram-message-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
}

.telegram-message-content a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.telegram-message-content a:hover {
    color: #FFA500;
    border-bottom-color: rgba(255, 215, 0, 0.6);
}

.telegram-message-content .hashtag {
    color: #FFD700;
    font-weight: 600;
}

.empty-messages {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Chart Section */
.chart-section {
    width: 100%;
}

.tradingview-widget-container {
    width: 100%;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

.tradingview-widget-container:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 215, 0, 0.2);
}

.tradingview-widget-container #tradingview_gold {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

/* Guaranteed Trades Section */
.guaranteed-trades-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.guaranteed-trades-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 25px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.guaranteed-trades-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.5), 
        transparent
    );
    opacity: 0.5;
}

.guaranteed-trades-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guaranteed-trade-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(74, 222, 128, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out;
}

.guaranteed-trade-card.sell-trade {
    border-color: rgba(248, 113, 113, 0.3);
}

.guaranteed-trade-card.sell-trade::before {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.5);
}

.guaranteed-trade-card.sell-trade:hover {
    border-color: rgba(248, 113, 113, 0.5);
    box-shadow: 0 10px 30px rgba(248, 113, 113, 0.2);
}

.guaranteed-trade-card.sell-trade .guaranteed-trade-title {
    color: #f87171;
    text-shadow: 0 0 15px rgba(248, 113, 113, 0.5);
}

.guaranteed-trade-card.sell-trade .guaranteed-trade-badge {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.5);
}

.guaranteed-trade-card.sell-trade .guaranteed-trade-icon {
    filter: drop-shadow(0 0 10px rgba(248, 113, 113, 0.6));
    animation: pulse-glow-sell 2s ease-in-out infinite;
}

@keyframes pulse-glow-sell {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(248, 113, 113, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(248, 113, 113, 1));
    }
}

.guaranteed-trade-card.sell-trade .guaranteed-trade-value.highlight {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}

.guaranteed-trade-card.sell-trade .guaranteed-message-item {
    border-right-color: rgba(248, 113, 113, 0.5);
}

.guaranteed-trade-card.sell-trade .guaranteed-message-item:hover {
    border-right-color: rgba(248, 113, 113, 0.8);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guaranteed-trade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.guaranteed-trade-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 222, 128, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.2);
}

.guaranteed-trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.guaranteed-trade-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guaranteed-trade-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.6));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(74, 222, 128, 1));
    }
}

.guaranteed-trade-title {
    font-size: 20px;
    font-weight: 800;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.guaranteed-trade-badge {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000000;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-guaranteed-trade-btn {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #f87171;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.remove-guaranteed-trade-btn:hover {
    background: rgba(248, 113, 113, 0.4);
    border-color: rgba(248, 113, 113, 0.8);
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.5);
}

.guaranteed-trade-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.guaranteed-trade-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.guaranteed-trade-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guaranteed-trade-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.guaranteed-trade-value.highlight {
    color: #4ade80;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.guaranteed-trade-messages {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guaranteed-trade-messages-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guaranteed-trade-messages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guaranteed-message-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 10px;
    border-right: 3px solid rgba(74, 222, 128, 0.5);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    transition: all 0.3s ease;
}

.guaranteed-message-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-right-color: rgba(74, 222, 128, 0.8);
}

.guaranteed-message-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.empty-guaranteed-trades {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Trades Statistics Section */
.trades-statistics-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trades-counter-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.counter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.counter-label {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.countdown-timer {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Poppins', 'Cairo', monospace;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.trades-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.trade-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trade-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trade-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trade-stat-card:hover::before {
    opacity: 1;
}

.trade-stat-card.buy-stat {
    border-left: 4px solid #4ade80;
}

.trade-stat-card.buy-stat:hover {
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.trade-stat-card.sell-stat {
    border-left: 4px solid #f87171;
}

.trade-stat-card.sell-stat:hover {
    box-shadow: 0 10px 30px rgba(248, 113, 113, 0.3);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.trade-stat-card.buy-stat .stat-value {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.trade-stat-card.sell-stat .stat-value {
    color: #f87171;
    text-shadow: 0 0 20px rgba(248, 113, 113, 0.5);
}

.market-direction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 10px;
}

.direction-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.direction-value {
    font-size: 20px;
    font-weight: 800;
    font-family: 'Poppins', 'Cairo', sans-serif;
    padding: 8px 20px;
    border-radius: 10px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.direction-value.direction-up {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.direction-value.direction-down {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    text-shadow: 0 0 15px rgba(248, 113, 113, 0.5);
}

.direction-value.direction-neutral {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, transparent);
    border-radius: 2px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 215, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.recommendation-card:hover::before {
    opacity: 1;
}

.recommendation-card.buy {
    border-left: 4px solid #4ade80;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(74, 222, 128, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.recommendation-card.buy:hover {
    border-left-color: #4ade80;
    box-shadow: 0 12px 40px rgba(74, 222, 128, 0.2),
                0 0 0 1px rgba(74, 222, 128, 0.3);
}

.recommendation-card.sell {
    border-left: 4px solid #f87171;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(248, 113, 113, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.recommendation-card.sell:hover {
    border-left-color: #f87171;
    box-shadow: 0 12px 40px rgba(248, 113, 113, 0.2),
                0 0 0 1px rgba(248, 113, 113, 0.3);
}

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.recommendation-icon {
    font-size: 24px;
}

.recommendation-type {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.recommendation-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recommendation-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommendation-price .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.recommendation-price .value {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.5px;
}

.recommendation-info {
    margin-top: 10px;
}

.recommendation-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

/* Current Price Card */
.current-price-card {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 165, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.15) 100%);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(255, 215, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                    0 0 30px rgba(255, 215, 0, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                    0 0 50px rgba(255, 215, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.current-price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.current-price-header {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.current-price-value {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
                 0 0 40px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.price-change {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.change-value {
    font-weight: 600;
}

.change-value.positive {
    color: #4ade80;
}

.change-value.negative {
    color: #f87171;
}

.change-percent {
    color: rgba(255, 255, 255, 0.7);
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.chart-price {
    font-size: 24px;
    font-weight: 700;
}

.chart-price.positive {
    color: #4ade80;
}

.chart-price.negative {
    color: #f87171;
}

.chart-change {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

.chart-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.8;
}

/* Loading Spinner */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.loading.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-tabs {
        justify-content: center;
    }
    
    .logo {
        font-size: 24px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Auth Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-modal.show {
    display: flex;
}

.auth-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-modal-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-modal-header p {
    opacity: 0.9;
    font-size: 14px;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.auth-form-group input,
.auth-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.auth-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.auth-form-group select option {
    background: #667eea;
    color: #ffffff;
}

.auth-error {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.auth-error.show {
    display: block;
}

.auth-success {
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.5);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.auth-success.show {
    display: block;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.auth-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.auth-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.auth-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.verification-code-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.verification-code-info strong {
    display: block;
    font-size: 24px;
    margin: 10px 0;
    color: #4ade80;
    letter-spacing: 5px;
}

/* Trading Modal Styles */
.trading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.trading-modal.show {
    display: flex;
}

.trading-modal-content {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 0;
    max-width: 1200px;
    width: 100%;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.trading-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.trading-modal-header h2 {
    font-size: 24px;
    margin: 0;
    color: #ffffff;
}

.trading-modal-header p {
    margin: 5px 0 0 0;
    opacity: 0.7;
    font-size: 14px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Trading Chart Container */
.trading-chart-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0f0f1e;
    min-height: 400px;
}

.trading-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.trading-price-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-label {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #4ade80;
}

.price-change {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.price-change.negative {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.chart-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.chart-type-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-type-selector label {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
}

.chart-type-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.chart-type-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.chart-type-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.chart-type-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.chart-type-btn span {
    font-size: 14px;
}

.chart-timeframes {
    display: flex;
    gap: 8px;
}

.tools-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.tools-tabs {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-tab {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.tool-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.tool-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    color: #ffffff;
    border-bottom-color: transparent;
}

.drawing-tools {
    display: flex;
    gap: 8px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.analysis-tools {
    padding: 15px 0;
}

.analysis-group {
    margin-bottom: 15px;
}

.analysis-group:last-child {
    margin-bottom: 0;
}

.analysis-group label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 8px;
    font-weight: 600;
}

.analysis-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.analysis-btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.analysis-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.analysis-btn.active {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-color: rgba(74, 222, 128, 0.5);
    color: #ffffff;
}

.clear-indicators-btn {
    padding: 10px 20px;
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.5);
    border-radius: 6px;
    color: #f87171;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    width: 100%;
}

.clear-indicators-btn:hover {
    background: rgba(248, 113, 113, 0.3);
    color: #ffffff;
}

.draw-tool-btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.draw-tool-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.draw-tool-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.draw-tool-btn span {
    font-size: 14px;
}

.timeframe-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.timeframe-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.timeframe-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.trading-chart-wrapper {
    flex: 1;
    position: relative;
    padding: 20px 30px;
    min-height: 400px;
}

.trading-chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Trading Controls */
.trading-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 25px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.trading-controls-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trading-controls-right {
    display: flex;
    align-items: center;
}

.trading-form-group {
    margin-bottom: 0;
}

.trading-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.trading-form-group input,
.trading-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.trading-form-group input:focus,
.trading-form-group select:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.trading-info-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 16px;
}

.info-row span:first-child {
    opacity: 0.7;
}

.info-row span:last-child {
    color: #4ade80;
    font-weight: 600;
}

/* Trading Action Buttons */
.trading-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trading-btn {
    padding: 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.trading-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.trading-btn:hover::before {
    left: 100%;
}

.trading-btn-buy {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.1) 100%);
    border: 2px solid #4ade80;
    color: #4ade80;
}

.trading-btn-buy:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.3) 0%, rgba(74, 222, 128, 0.2) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.trading-btn-sell {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2) 0%, rgba(248, 113, 113, 0.1) 100%);
    border: 2px solid #f87171;
    color: #f87171;
}

.trading-btn-sell:hover {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.3) 0%, rgba(248, 113, 113, 0.2) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(248, 113, 113, 0.3);
}

.btn-icon {
    font-size: 32px;
    line-height: 1;
}

.btn-text {
    font-size: 20px;
    font-weight: 700;
}

.btn-price {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 600;
}

/* Positions Panel */
.positions-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.positions-panel h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.position-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.position-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.position-info {
    flex: 1;
}

.position-symbol {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.position-details {
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.position-profit {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}

.position-profit.positive {
    color: #4ade80;
}

.position-profit.negative {
    color: #f87171;
}

.close-position-btn {
    padding: 8px 15px;
    background: rgba(248, 113, 113, 0.3);
    color: #f87171;
    border: 1px solid #f87171;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.close-position-btn:hover {
    background: rgba(248, 113, 113, 0.5);
}

.chart-card.clickable {
    cursor: pointer;
}

.chart-card.clickable:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.login-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.account-type-btn {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    text-align: center;
}

.account-type-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.account-type-btn.active {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
}

.empty-state {
    text-align: center;
    padding: 40px;
    opacity: 0.7;
}

/* Golden Dollar Sign Styling */
.dollar-sign {
    color: #FFD700;
    font-weight: 700;
}

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-overlay.hidden {
    display: none;
}

.login-modal {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    font-size: 42px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-family: 'Poppins', 'Cairo', sans-serif;
    letter-spacing: 3px;
}

.login-title .logo-ez {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title .logo-gold {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 50%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title .logo-icon {
    font-size: 32px;
    animation: sparkle 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-top: 10px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.login-form-group input {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.login-form-group input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.login-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Google reCAPTCHA Styles */
.recaptcha-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.recaptcha-container .g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
}

.recaptcha-error {
    color: #f87171;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: none;
    padding: 8px;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.login-error {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #f87171;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.login-error.show {
    display: block;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.login-submit-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    color: #000000;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-top: 10px;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-submit-btn .btn-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.login-submit-btn:hover .btn-icon {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .login-modal {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 32px;
    }
    
    .recaptcha-container {
        padding: 10px;
    }
    
    .recaptcha-container .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}
