/* Global Reset and Base Variables */
:root {
    --bg-main: #090a0f;
    --bg-card: #11131c;
    --bg-card-hover: #161924;
    --border-color: rgba(212, 175, 55, 0.12);
    --border-color-glow: rgba(255, 215, 0, 0.3);
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    
    /* Branding Colors */
    --gold: #ffd700;
    --gold-dark: #d4af37;
    --gold-glow: rgba(255, 215, 0, 0.2);
    
    /* Trading Signal Colors */
    --buy-green: #10b981;
    --buy-glow: rgba(16, 185, 129, 0.2);
    --sell-red: #ef4444;
    --sell-glow: rgba(239, 68, 68, 0.2);
    --hold-gray: #6b7280;
    --hold-glow: rgba(107, 114, 128, 0.2);
    
    /* System Spaces */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--color-text-primary);
    font-family: 'Cairo', 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* App Container Layout */
.app-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 1. Header Styles */
.app-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, #151824 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gold-pulse {
    width: 10px;
    height: 10px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--gold-glow);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.gold-icon {
    font-size: 26px;
    color: var(--gold);
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    font-family: 'Inter', 'Cairo', sans-serif;
}

.logo-text h1 .accent {
    color: var(--gold);
}

.logo-text p {
    font-size: 11px;
    color: var(--color-text-secondary);
}

/* Header Quick Stats */
.header-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.stat-card-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 20px;
}

.stat-card-mini:last-child {
    border-left: none;
    padding-left: 0;
}

.stat-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-bottom: 2px;
}

.stat-val {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Orbitron', 'Cairo', sans-serif;
}

.stat-val.positive { color: var(--buy-green); }
.stat-val.negative { color: var(--sell-red); }

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-clock {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 215, 0, 0.1);
    letter-spacing: 1px;
}

/* 2. Layout Grid */
.app-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

.grid-left, .grid-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 3. Cards Common */
.dashboard-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, #151822 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.dashboard-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    font-size: 18px;
}

.card-title h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.text-gold {
    color: var(--gold);
}

/* 4. Chart Section */
.chart-card {
    padding: 15px;
}

.timeframes {
    display: flex;
    gap: 6px;
}

.tf-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tf-btn:hover {
    background: rgba(255, 215, 0, 0.08);
    color: var(--gold);
}

.tf-btn.active {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    border-color: var(--gold);
}

.chart-container {
    height: 420px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    background: #131722;
}

/* 5. Uploader Section */
.upload-area {
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 215, 0, 0.01);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.03);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.upload-icon {
    font-size: 40px;
    color: var(--gold-dark);
    margin-bottom: 5px;
    transition: transform var(--transition-fast);
}

.upload-area:hover .upload-icon {
    transform: translateY(-5px);
}

.upload-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.upload-subtext {
    font-size: 11px;
    color: var(--color-text-secondary);
}

.preview-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-area img {
    max-height: 350px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 6. Active Timer Widget */
.timer-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 600px) {
    .timer-body {
        flex-direction: column;
        text-align: center;
    }
}

.timer-display {
    font-family: 'Orbitron', monospace;
    font-size: 45px;
    font-weight: 900;
    color: #fff;
    background: #0e1017;
    padding: 10px 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    min-width: 170px;
    text-align: center;
}

.timer-display.alert {
    color: var(--sell-red);
    text-shadow: 0 0 15px var(--sell-glow);
    border-color: rgba(239, 68, 68, 0.3);
    animation: flash-red 1s infinite alternate;
}

@keyframes flash-red {
    from { opacity: 1; }
    to { opacity: 0.6; }
}

.timer-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-timer {
    width: 130px;
}

.timer-hint {
    flex: 1;
    font-size: 12px;
    color: var(--color-text-secondary);
    border-right: 3px solid var(--gold);
    padding-right: 15px;
}

/* 7. Signal Section UI */
.signal-card {
    position: relative;
    overflow: hidden;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--color-text-secondary);
}

.signal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 10px 0;
}

.signal-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 25px;
    border-radius: var(--radius-md);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    border: 1px solid transparent;
}

.signal-badge.buy {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
    color: var(--buy-green);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px var(--buy-glow);
    text-shadow: 0 0 10px var(--buy-glow);
}

.signal-badge.sell {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.02) 100%);
    color: var(--sell-red);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 20px var(--sell-glow);
    text-shadow: 0 0 10px var(--sell-glow);
}

.signal-badge.hold {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(107, 114, 128, 0.02) 100%);
    color: var(--hold-gray);
    border-color: rgba(107, 114, 128, 0.3);
    box-shadow: 0 0 20px var(--hold-glow);
}

/* Confidence Bar */
.confidence-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.confidence-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.confidence-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.confidence-bar-fill {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gold);
}

.signal-card.is-buy .confidence-bar-fill {
    background: var(--buy-green);
    box-shadow: 0 0 8px var(--buy-green);
}

.signal-card.is-sell .confidence-bar-fill {
    background: var(--sell-red);
    box-shadow: 0 0 8px var(--sell-red);
}

/* Parameter Grid: Entry, SL, TP */
.parameters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.param-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.param-label {
    font-size: 10px;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
    z-index: 2;
}

.param-value {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.param-icon {
    position: absolute;
    bottom: -10px;
    left: -5px;
    font-size: 32px;
    opacity: 0.03;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.param-box:hover .param-icon {
    transform: scale(1.2) rotate(-10deg);
    opacity: 0.05;
}

.param-box.entry { border-top: 3px solid var(--gold); }
.param-box.tp { border-top: 3px solid var(--buy-green); }
.param-box.sl { border-top: 3px solid var(--sell-red); }

.param-box.entry .param-value { color: var(--gold); }
.param-box.tp .param-value { color: var(--buy-green); }
.param-box.sl .param-value { color: var(--sell-red); }

/* 8. Reasoning Technical Box */
.reasoning-card {
    flex: 1;
}

.language-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 2px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn.active {
    background: var(--gold);
    color: #000;
    font-weight: 700;
}

.reasoning-body {
    position: relative;
    min-height: 120px;
}

.reasoning-content {
    font-size: 13px;
    color: #d1d5db;
    line-height: 1.7;
    white-space: pre-line;
}

/* Loading Overlay inside Card */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 19, 28, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.spinner {
    width: 35px;
    height: 35px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Levels Section */
.levels-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.levels-list li {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.levels-list li::before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    margin-left: 8px;
}

.levels-list li span {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: #fff;
}

.empty-level {
    color: var(--color-text-secondary);
    font-style: italic;
    justify-content: center !important;
}

.empty-level::before { display: none !important; }

/* 9. Bottom Logs & Tables */
.history-card {
    width: 100%;
}

.history-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .history-layout {
        grid-template-columns: 1fr;
    }
}

.history-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (max-width: 768px) {
    .history-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.h-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
}

.h-stat-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
}

.h-stat-value {
    font-family: 'Orbitron', 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.h-stat-value.positive { color: var(--buy-green); }
.h-stat-value.negative { color: var(--sell-red); }

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 12px;
    background: #11131c;
}

.history-table th, .history-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.history-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-secondary);
    font-weight: 600;
}

.history-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.history-table td {
    color: #d1d5db;
}

.table-signal-badge {
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.table-signal-badge.buy { background: rgba(16, 185, 129, 0.15); color: var(--buy-green); }
.table-signal-badge.sell { background: rgba(239, 68, 68, 0.15); color: var(--sell-red); }
.table-signal-badge.hold { background: rgba(107, 114, 128, 0.15); color: var(--hold-gray); }

.btn-status-pending {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

/* Action buttons in logs */
.log-actions {
    display: flex;
    gap: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all var(--transition-fast);
}

.btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--gold);
    color: #000;
}

.btn-primary:hover:not(:disabled) {
    background: #ffd91a;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.btn-success {
    background: var(--buy-green);
    color: #fff;
}

.btn-success:hover:not(:disabled) {
    background: #059669;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: var(--sell-red);
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

.animate-pulse {
    animation: animate-pulse-shadow 2s infinite;
}

@keyframes animate-pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modal-enter var(--transition-normal);
}

@keyframes modal-enter {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

.close-modal-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.close-modal-btn:hover {
    color: #fff;
}

.modal-body {
    padding: 25px;
}

.modal-body p {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
}

.input-with-icon input {
    width: 100%;
    background: #0e1017;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 40px 10px 15px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
}

.api-key-note {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-top: 10px;
}

.api-key-note a {
    color: var(--gold);
    text-decoration: none;
}

.api-key-note a:hover {
    text-decoration: underline;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Toast Notifications */
.notification-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--bg-card);
    border-right: 4px solid var(--gold);
    border: 1px solid var(--border-color);
    border-right: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: toast-enter 0.3s ease-out;
}

@keyframes toast-enter {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-icon {
    font-size: 24px;
    color: var(--gold);
}

.toast-content h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.toast-content p {
    font-size: 11px;
    color: var(--color-text-secondary);
}

/* Live analysis styles */
.live-analysis-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-block {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
}

.live-analysis-hint {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 10px;
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 12px;
    margin: 20px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.divider-text:not(:empty)::before {
    margin-left: .5em;
}

.divider-text:not(:empty)::after {
    margin-right: .5em;
}

/* Header Live Price Ticker Styles */
.live-price-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: 'Orbitron', 'Cairo', sans-serif;
    font-weight: 700;
    transition: all 0.15s ease;
}

.live-price-box.up {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.06);
    color: var(--buy-green);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.live-price-box.down {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.06);
    color: var(--sell-red);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.price-symbol {
    font-size: 10px;
    color: var(--color-text-secondary);
}

.price-value {
    font-size: 15px;
    letter-spacing: 0.5px;
}

.price-dir-icon {
    font-size: 12px;
}
