/**
 * AutoCryptoX - Main Stylesheet
 * Branding: Blue #1D4ED8, Neon Green #22FF55, Black #000000, White #FFFFFF
 * Typography: Poppins (headings), Inter (body)
 */

/* CSS Variables */
:root {
    --primary-blue: #1D4ED8;
    --neon-green: #22FF55;
    --black: #000000;
    --white: #FFFFFF;
    --dark-bg: #0A0E27;
    --card-bg: #141B2D;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B8C4;
    --border-color: #1E293B;
    --success-color: #22FF55;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--neon-green));
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--neon-green);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-green);
}

.btn-logout {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-logout:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--neon-green));
    border-radius: 50%;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--neon-green);
}

.stat-change.negative {
    color: var(--danger-color);
}

.stat-change.neutral {
    color: var(--text-secondary);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filters label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.toggle input {
    display: none;
}

.toggle-switch {
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: var(--border-color);
    position: relative;
    transition: var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition);
}

.toggle input:checked + .toggle-switch {
    background: var(--primary-blue);
}

.toggle input:checked + .toggle-switch::after {
    transform: translateX(20px);
}

.quick-actions {
    background: rgba(20, 27, 45, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.badge-success {
    background: rgba(34, 255, 85, 0.2);
    color: var(--neon-green);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: auto;
}

.status-dot.online {
    background: var(--neon-green);
    box-shadow: 0 0 8px rgba(34, 255, 85, 0.6);
}

.status-dot.idle {
    background: var(--warning-color);
}

.status-dot.paused {
    background: var(--danger-color);
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--neon-green);
}

.card-body {
    padding: 1.5rem;
}

/* Chart Controls */
.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-timeframe {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.btn-timeframe:hover,
.btn-timeframe.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* Signals List */
.signals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signal-item {
    padding: 1rem;
    background: rgba(29, 78, 216, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.signal-item:hover {
    border-color: var(--primary-blue);
    transform: translateX(4px);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.signal-symbol {
    font-weight: 700;
    font-size: 1.125rem;
}

.signal-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.signal-badge.buy {
    background: rgba(34, 255, 85, 0.2);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.signal-badge.sell {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.signal-badge.hold {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.signal-reason {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.signal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.signal-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.signal-confidence {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Trades List */
.trades-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(20, 27, 45, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
}

.trade-info {
    flex: 1;
}

.trade-symbol {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trade-details {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trade-amount {
    font-weight: 700;
    font-size: 1.125rem;
}

/* Market Overview */
.market-overview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(20, 27, 45, 0.5);
    border-radius: 8px;
}

.market-symbol {
    font-weight: 700;
}

.market-price {
    font-weight: 600;
}

.market-change {
    font-weight: 600;
    font-size: 0.875rem;
}

.market-change.positive {
    color: var(--neon-green);
}

.market-change.negative {
    color: var(--danger-color);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--neon-green);
    color: var(--black);
}

.btn-success:hover {
    background: #1EE055;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 1px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden {
    display: none;
}

/* Landing Page */
.nav-cta {
    color: var(--white);
    font-weight: 600;
}

.hero {
    padding: 4rem 0;
    background: radial-gradient(circle at top, rgba(29, 78, 216, 0.2), transparent 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-card {
    background: rgba(20, 27, 45, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.preview-card.full-width {
    grid-column: 1 / -1;
}

.preview-card h3 {
    margin-bottom: 1rem;
}

.preview-list {
    list-style: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.heatmap-item {
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.heatmap-item.positive {
    background: rgba(34, 255, 85, 0.15);
    border: 1px solid rgba(34, 255, 85, 0.4);
}

.heatmap-item.negative {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.heatmap-item .symbol {
    font-weight: 700;
}

.heatmap-item .price {
    font-size: 0.9rem;
}

.heatmap-item .change {
    font-size: 0.8rem;
}

.section {
    padding: 4rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-heading p {
    color: var(--text-secondary);
}

.signals-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.signal-card {
    border-left: 3px solid var(--primary-blue);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(20, 27, 45, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.strategy-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.strategy-tab {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.strategy-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.strategy-panel {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(20, 27, 45, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
}

.strategy-panel h3 {
    margin-bottom: 1rem;
}

.strategy-footer {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.workflow-steps {
    counter-reset: step;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-steps li {
    position: relative;
    padding-left: 3rem;
}

.workflow-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.workflow-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.cta-section {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.3), rgba(34, 255, 85, 0.2));
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
}

@media (max-width: 768px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
    }

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: rgba(20, 27, 45, 0.9);
    border: none;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(10, 14, 39, 0.9);
    padding: 0 1.5rem;
}

.faq-answer p {
    margin: 1rem 0;
    color: var(--text-secondary);
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* Page layouts */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    text-align: center;
}

.page-header > div {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stacked-form .form-group {
    margin-bottom: 0;
}

.option-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.option-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.option-pill input {
    accent-color: var(--primary-blue);
}

.option-pill:hover,
.option-pill input:checked + span {
    color: var(--white);
}

.helper-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.notice-card {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--warning-color);
}

.notice-card a {
    color: var(--primary-blue);
    text-decoration: none;
}

.notice-card a:hover {
    color: var(--neon-green);
}

.note-box {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(29, 78, 216, 0.08);
    border: 1px dashed var(--primary-blue);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.exchange-guides {
    margin: 0.75rem 0 0.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.exchange-guides ul {
    margin-top: 0.35rem;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exchange-guides a {
    color: var(--primary-blue);
    text-decoration: none;
}

.exchange-guides a:hover {
    color: var(--neon-green);
}

.confirm-box {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.confirm-box input {
    margin-top: 0.2rem;
}

.confirm-box strong {
    color: var(--white);
}

.linked-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.linked-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(20, 27, 45, 0.8);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    justify-items: center;
}

.plan-card {
    background: rgba(20, 27, 45, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.plan-card.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2), var(--shadow-md);
}

.plan-card .badge {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-card .badge-warning {
    background: var(--warning-color);
}

.plan-card .badge-success {
    background: var(--success-color);
    color: var(--black);
}

.plan-card .badge-danger {
    background: var(--danger-color);
}

.plan-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0 0;
    text-align: center;
}

.plan-card .plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
    text-align: center;
    margin: 0.5rem 0;
}

.plan-card ul {
    list-style: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.plan-card ul li {
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.plan-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 700;
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    width: 100%;
}

.plan-actions .btn {
    width: 100%;
    justify-content: center;
}


.responsive-grid {
    display: grid;
    gap: 1rem;
}

.responsive-grid.two-col {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.text-muted {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Admin Tabs */
.admin-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-family: var(--font-body);
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.admin-tab.active {
    color: var(--neon-green);
    border-bottom-color: var(--neon-green);
    background: rgba(34, 255, 85, 0.1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.table-container {
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    min-width: 800px;
}
}

