/* assets/css/style.css */
/* WeeklyRadar.com Custom Styles */

:root {
    --primary-color: #0d6efd;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --gex-positive: #22c55e;
    --gex-negative: #ef4444;
    --gex-king-positive: #fbbf24;
    --gex-king-negative: #a855f7;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* GEX Table Styles */
.gex-table {
    font-size: 0.9rem;
}

.gex-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.gex-table td {
    vertical-align: middle;
}

/* GEX Value Colors */
.gex-positive {
    color: var(--gex-positive);
    font-weight: 600;
}

.gex-negative {
    color: var(--gex-negative);
    font-weight: 600;
}

.gex-neutral {
    color: #6c757d;
}

.gex-king-positive {
    color: var(--gex-king-positive);
    font-weight: 700;
    background-color: rgba(251, 191, 36, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.gex-king-negative {
    color: var(--gex-king-negative);
    font-weight: 700;
    background-color: rgba(168, 85, 247, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tables */
.table-responsive {
    border-radius: 8px;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
}

/* Login Page */
.min-vh-100 {
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 768px) {
    .gex-table {
        font-size: 0.75rem;
    }

    .gex-table th,
    .gex-table td {
        padding: 0.5rem 0.25rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-header h4,
    .card-header h5 {
        font-size: 1.1rem;
    }
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.6em;
}

/* Sticky header for scrollable tables */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Alert animations */
.alert {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
