/* ═══════════════════════════════════════════════════════════════
   CRYPTO TEK AI - TRADE PAGE STYLES - PREMIUM DESIGN
   ═══════════════════════════════════════════════════════════════ */

.trade-container {
    padding: 0 0 100px 0;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(33,150,243,0.03) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER - STUNNING GRADIENT
   ═══════════════════════════════════════════════════════════════ */

.page-header {
    padding: 24px 20px;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(33,150,243,0.2) 0%,
        rgba(156,39,176,0.15) 50%,
        rgba(76,175,80,0.2) 100%);
    border-radius: 0 0 24px 24px;
    margin: 0 0 24px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(33,150,243,0.2);
}

.page-header::before {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   EXCHANGE SELECTOR - HORIZONTAL PILLS
   ═══════════════════════════════════════════════════════════════ */

.exchange-selector-wrapper {
    padding: 0 0 16px 0;
    margin-bottom: 8px;
}

.exchange-pills-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 4px 16px;
}

.exchange-pills-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.exchange-pill {
    flex-shrink: 0;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.exchange-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exchange-pill.active {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.exchange-pill.active::before {
    opacity: 1;
}

.exchange-pill:not(.active):hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.exchange-pill:active {
    transform: scale(0.96);
}

.page-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.page-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   WATCHLIST BUTTON - FULL WIDTH SLIM (LIKE SCALP PAGE)
   ═══════════════════════════════════════════════════════════════ */

.watchlist-btn-wrapper {
    padding: 0;
    margin-bottom: 16px;
}

.watchlist-full-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(33,150,243,0.12);
    border: none;
    border-top: 1px solid rgba(33,150,243,0.25);
    border-bottom: 1px solid rgba(33,150,243,0.25);
    border-radius: 0;
    color: #2196F3;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.watchlist-full-btn:hover {
    background: rgba(33,150,243,0.25);
    border-color: rgba(33,150,243,0.5);
}

.watchlist-full-btn:active {
    transform: scale(0.98);
}

.watchlist-btn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.watchlist-btn-left i {
    font-size: 18px;
    color: #FFD700;
}

.watchlist-full-btn > i:last-child {
    font-size: 14px;
    color: rgba(33,150,243,0.6);
}

.watchlist-full-btn i:last-child {
    font-size: 12px;
    opacity: 0.6;
    margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   MODE CARDS GRID - FULL WIDTH SPECTACULAR
   ═══════════════════════════════════════════════════════════════ */

.trade-modes-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0 0 24px 0;
}

.trade-mode-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.trade-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #9C27B0, #4CAF50);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trade-mode-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trade-mode-card:active {
    transform: scale(0.98);
}

.trade-mode-card:hover {
    border-color: rgba(33,150,243,0.4);
    box-shadow: 0 8px 40px rgba(33,150,243,0.3);
}

.trade-mode-card:hover::before,
.trade-mode-card.active::before {
    opacity: 1;
}

.trade-mode-card:hover::after {
    opacity: 1;
}

/* Specific card gradients */
.trade-mode-card[data-mode="elite"] {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,165,0,0.05) 100%);
    border-color: rgba(255,215,0,0.2);
}

.trade-mode-card[data-mode="elite"]::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.trade-mode-card[data-mode="scalping"] {
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,87,34,0.05) 100%);
    border-color: rgba(255,107,53,0.2);
}

.trade-mode-card[data-mode="scalping"]::before {
    background: linear-gradient(90deg, #FF6B35, #FF5722);
}

.trade-mode-card[data-mode="swing"] {
    background: linear-gradient(135deg, rgba(76,175,80,0.1) 0%, rgba(67,160,71,0.05) 100%);
    border-color: rgba(76,175,80,0.2);
}

.trade-mode-card[data-mode="swing"]::before {
    background: linear-gradient(90deg, #4CAF50, #43A047);
}

/* Locked Card */
.trade-mode-card.locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.trade-mode-card.locked .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Header with Icon */
.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mode-icon {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.mode-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    transition: all 0.3s ease;
}

.trade-mode-card:hover .mode-arrow {
    background: rgba(33,150,243,0.3);
    color: #fff;
    transform: translateX(4px);
}

/* Mode Content */
.mode-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mode-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255,215,0,0.4);
}

.mode-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mode-badge.scalping {
    background: rgba(255,107,53,0.25);
    color: #FF6B35;
    border: 1px solid rgba(255,107,53,0.4);
}

.mode-badge.swing {
    background: rgba(76,175,80,0.25);
    color: #4CAF50;
    border: 1px solid rgba(76,175,80,0.4);
}

.mode-badge.manual {
    background: rgba(99,102,241,0.25);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,0.4);
}

.mode-badge.ideas {
    background: rgba(255,193,7,0.25);
    color: #FFC107;
    border: 1px solid rgba(255,193,7,0.4);
}

/* Manuel Analiz Kartı Özel Stiller */
.manual-analysis-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(168,85,247,0.1) 100%);
    border: 1px solid rgba(99,102,241,0.3);
    position: relative;
    overflow: hidden;
}

.manual-analysis-card::before {
    display: none;
}

.manual-analysis-card:hover {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 8px 30px rgba(99,102,241,0.25);
}

.manual-analysis-card .mode-icon {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

/* Piyasa Fikirleri (Ideas) Kartı Özel Stiller */
.ideas-card {
    background: linear-gradient(135deg, rgba(255,193,7,0.1) 0%, rgba(255,152,0,0.1) 100%);
    border: 1px solid rgba(255,193,7,0.3);
    position: relative;
    overflow: hidden;
}

.ideas-card::before {
    display: none;
}

.ideas-card:hover {
    border-color: rgba(255,193,7,0.5);
    box-shadow: 0 8px 30px rgba(255,193,7,0.25);
}

.ideas-card .mode-icon {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
}

.mode-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

/* Mode Features - Horizontal Scroll on Mobile */
.mode-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.trade-mode-card:hover .feature-item {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.feature-item i {
    font-size: 14px;
    color: #2196F3;
}

.trade-mode-card[data-mode="scalping"] .feature-item i {
    color: #FF6B35;
}

.trade-mode-card[data-mode="swing"] .feature-item i {
    color: #4CAF50;
}

.trade-mode-card[data-mode="elite"] .feature-item i {
    color: #FFD700;
}

/* Mode Stats - Bigger and Bolder */
.mode-stats {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #4CAF50;
    text-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

.trade-mode-card[data-mode="scalping"] .stat-value {
    color: #FF6B35;
    text-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

.mode-lock-note {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.mode-lock-note i {
    color: #FFD700;
}

/* ═══════════════════════════════════════════════════════════════
   NOTIFICATION SETTINGS SECTION - SAME AS CARDS
   ═══════════════════════════════════════════════════════════════ */

.notification-settings-section {
    margin: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 20px 16px;
}

.section-header {
    margin-bottom: 24px;
    text-align: center;
}

.section-header h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header h3 i {
    color: #FFD700;
}

.section-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Notification Toggles */
.notification-toggles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-toggle-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.3s ease;
}

.notification-toggle-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.notification-toggle-item.watchlist-only {
    border: 2px solid rgba(33,150,243,0.4);
    background: linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(33,150,243,0.05) 100%);
}

.toggle-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.toggle-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.toggle-text {
    flex: 1;
}

.toggle-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.toggle-text p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* Toggle Switch - Modern Design */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 10;
    margin: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #4CAF50, #43A047);
    box-shadow: 0 2px 12px rgba(76,175,80,0.4);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Toggle Switch Hover Effect */
.toggle-switch:hover .toggle-slider {
    background: rgba(255,255,255,0.2);
}

.toggle-switch:hover input:checked + .toggle-slider {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    .trade-modes-grid {
        padding: 0 24px;
    }

    .trade-mode-card {
        padding: 28px;
    }

    .mode-header h3 {
        font-size: 24px;
    }

    .notification-settings-section {
        margin: 24px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS - Removed for performance
   ═══════════════════════════════════════════════════════════════ */

.trade-mode-card {
}

.notification-settings-section {
}

/* ═══════════════════════════════════════════════════════════════
   WATCHLIST POPUP - FULL SCREEN MODAL
   ═══════════════════════════════════════════════════════════════ */

.watchlist-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.watchlist-popup-overlay.show {
    display: flex;
}

.watchlist-popup {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(18,18,18,1) 0%, rgba(30,30,30,1) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

/* Popup Header */
.watchlist-popup-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(33,150,243,0.2) 0%, rgba(156,39,176,0.15) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.watchlist-popup-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.watchlist-popup-header h3 i {
    color: #FFD700;
    font-size: 24px;
}

.watchlist-popup-close {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 18px;
}

.watchlist-popup-close:hover {
    background: rgba(244,67,54,0.3);
    border-color: rgba(244,67,54,0.5);
    transform: rotate(90deg);
}

.watchlist-popup-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Popup Body */
.watchlist-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
    overscroll-behavior: contain; /* Prevent body scroll when scrolling inside popup */
}

/* Custom scrollbar for watchlist popup */
.watchlist-popup-body::-webkit-scrollbar {
    width: 6px;
}

.watchlist-popup-body::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.watchlist-popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(33,150,243,0.5), rgba(156,39,176,0.5));
    border-radius: 3px;
}

.watchlist-popup-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(33,150,243,0.7), rgba(156,39,176,0.7));
}

/* Empty State */
.watchlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.5);
}

.watchlist-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.watchlist-empty h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.watchlist-empty p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

/* Watchlist Item Card */
.watchlist-item-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s ease;
    animation: slideInUp 0.3s ease;
}

.watchlist-item-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33,150,243,0.2);
}

/* Item Header */
.watchlist-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.watchlist-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.watchlist-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(33,150,243,0.2);
    border: 2px solid rgba(33,150,243,0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.watchlist-item-details h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.watchlist-item-details p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Exchange Badge */
.watchlist-item-exchange {
    background: rgba(156,39,176,0.2);
    border: 1px solid rgba(156,39,176,0.4);
    color: #CE93D8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Item Actions */
.watchlist-item-actions {
    display: flex;
    gap: 10px;
}

.watchlist-item-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.watchlist-item-btn:active {
    transform: scale(0.98);
}

.watchlist-analyze-btn {
    background: linear-gradient(135deg, #4CAF50, #43A047);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.watchlist-analyze-btn:hover {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 6px 16px rgba(76,175,80,0.4);
}

.watchlist-remove-btn {
    background: rgba(244,67,54,0.2);
    color: #F44336;
    border: 1px solid rgba(244,67,54,0.4);
    flex: 0 0 auto;
    min-width: 50px;
}

.watchlist-remove-btn:hover {
    background: rgba(244,67,54,0.3);
    border-color: rgba(244,67,54,0.6);
}

/* Animations - removed for performance */

/* Responsive */
@media (max-width: 767px) {
    /* Mobile - Full screen popup */
    .watchlist-popup {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }

    .watchlist-popup-overlay {
        align-items: flex-start;
    }

    .watchlist-popup-body {
        padding: 16px;
    }
}

@media (min-width: 768px) {
    /* Desktop - Centered modal */
    .watchlist-popup {
        max-width: 600px;
        max-height: 90vh;
        margin: auto;
        border-radius: 24px;
        overflow: hidden;
    }

    .watchlist-popup-body {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */

.trade-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.trade-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.trade-toast.success {
    background: linear-gradient(135deg, rgba(76,175,80,0.95), rgba(67,160,71,0.95));
}

.trade-toast.error {
    background: linear-gradient(135deg, rgba(244,67,54,0.95), rgba(229,57,53,0.95));
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE APP DESIGN SYSTEM - TRADE PAGE
   Compact, Modern, Mobile-First Design
   ═══════════════════════════════════════════════════════════════ */

.mobile-trade {
    padding: 0 0 100px 0;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(15, 15, 20, 1) 0%, rgba(20, 20, 30, 1) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE PAGE HEADER - Compact & Clean
   ═══════════════════════════════════════════════════════════════ */

.mobile-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(156, 39, 176, 0.08));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 12px;
}

.mobile-page-icon {
    font-size: 28px;
    line-height: 1;
}

.mobile-page-info {
    flex: 1;
}

.mobile-page-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.mobile-page-desc {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE EXCHANGE SELECTOR - Horizontal Chips
   ═══════════════════════════════════════════════════════════════ */

.mobile-exchange-selector {
    padding: 0 12px 12px;
}

.mobile-exchange-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
}

.mobile-exchange-chips::-webkit-scrollbar {
    display: none;
}

.mobile-exchange-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-exchange-chip.active {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.mobile-exchange-chip:not(.active):active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE SEARCH WRAPPER
   ═══════════════════════════════════════════════════════════════ */

.mobile-search-wrapper {
    padding: 0 12px 12px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE WATCHLIST BUTTON - Compact Full Width
   ═══════════════════════════════════════════════════════════════ */

.mobile-watchlist-btn-wrapper {
    padding: 0 12px 12px;
}

.mobile-watchlist-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 10px;
    color: #2196F3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-watchlist-btn:active {
    transform: scale(0.98);
    background: rgba(33, 150, 243, 0.15);
}

.mobile-watchlist-btn-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-watchlist-icon {
    font-size: 18px;
}

.mobile-watchlist-text {
    font-size: 14px;
    font-weight: 600;
}

.mobile-watchlist-arrow {
    font-size: 12px;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE SECTION - Container with Header
   ═══════════════════════════════════════════════════════════════ */

.mobile-section {
    padding: 0 12px 16px;
}

.mobile-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.mobile-section-icon {
    font-size: 16px;
}

.mobile-section-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MODE CARDS - Compact Trade Mode Cards
   ═══════════════════════════════════════════════════════════════ */

.mobile-mode-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-mode-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.mobile-mode-card:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Mode Card Variants */
.mobile-mode-elite {
    --mode-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.04));
    border-color: rgba(255, 215, 0, 0.15);
}

.mobile-mode-scalping {
    --mode-color: #FF6B35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 87, 34, 0.04));
    border-color: rgba(255, 107, 53, 0.15);
}

.mobile-mode-swing {
    --mode-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(67, 160, 71, 0.04));
    border-color: rgba(76, 175, 80, 0.15);
}

.mobile-mode-manual {
    --mode-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.04));
    border-color: rgba(99, 102, 241, 0.15);
}

.mobile-mode-ideas {
    --mode-color: #FFC107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 152, 0, 0.04));
    border-color: rgba(255, 193, 7, 0.15);
}

.mobile-mode-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mobile-mode-icon {
    font-size: 24px;
    line-height: 1;
}

.mobile-mode-badges {
    display: flex;
    gap: 6px;
    flex: 1;
}

.mobile-badge-free {
    padding: 3px 8px;
    background: rgba(117, 117, 117, 0.3);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #999;
}

.mobile-badge-type {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-badge-type.scalping {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
}

.mobile-badge-type.swing {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.mobile-badge-type.manual {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.mobile-badge-type.ideas {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.mobile-mode-arrow {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}

.mobile-mode-card:active .mobile-mode-arrow {
    transform: translateX(3px);
}

.mobile-mode-title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.mobile-mode-desc {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-mode-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.mobile-mode-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-mode-tag i {
    font-size: 10px;
    color: var(--mode-color, #2196F3);
}

.mobile-mode-stats {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--mode-color, #4CAF50);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE CARD - Base Card Component
   ═══════════════════════════════════════════════════════════════ */

.mobile-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin: 0 12px 12px;
    backdrop-filter: blur(10px);
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mobile-card-icon {
    font-size: 20px;
    line-height: 1;
}

.mobile-card-title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.mobile-card-desc {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE TOGGLE SWITCH - Compact Design
   ═══════════════════════════════════════════════════════════════ */

.mobile-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.mobile-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.mobile-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    border-radius: 24px;
}

.mobile-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.mobile-toggle input:checked + .mobile-toggle-slider,
.mobile-toggle-slider.active {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
}

.mobile-toggle input:checked + .mobile-toggle-slider:before,
.mobile-toggle-slider.active:before {
    transform: translateX(20px);
}

.mobile-toggle-slider.diamond.active {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
}

.mobile-toggle.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE DIAMOND DETECTOR - Compact Design
   ═══════════════════════════════════════════════════════════════ */

.mobile-diamond-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.06));
    border-color: rgba(139, 92, 246, 0.2);
}

.mobile-diamond-card.locked {
    opacity: 0.85;
}

.mobile-diamond-badge {
    padding: 3px 8px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.mobile-diamond-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.mobile-diamond-status i {
    color: #A855F7;
    font-size: 12px;
}

.mobile-diamond-exchanges {
    margin-top: 8px;
}

.mobile-diamond-exchanges-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.mobile-diamond-exchange-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mobile-diamond-exchange-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-diamond-exchange-chip.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
}

.mobile-diamond-exchange-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-diamond-exchange-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-diamond-upgrade {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-diamond-upgrade:active {
    transform: scale(0.98);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE NOTIFICATIONS CARD - Compact Toggle List
   ═══════════════════════════════════════════════════════════════ */

.mobile-notifications-card {
    margin-top: 4px;
}

.mobile-notification-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-notification-item:active {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-notification-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.mobile-notification-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.mobile-notification-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mobile-notification-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.mobile-notification-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 400px) {
    .mobile-mode-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mobile-mode-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .mobile-trade {
        max-width: 600px;
        margin: 0 auto;
    }

    .mobile-page-header {
        padding: 20px;
    }

    .mobile-card {
        margin: 0 16px 16px;
        padding: 18px;
    }

    .mobile-section {
        padding: 0 16px 20px;
    }
}
