/* EnableAll Affiliate Tracker — Custom Styles */

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Card refinements */
.card {
    transition: box-shadow 0.15s ease;
}
.card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08) !important;
}

/* Stats cards */
.card-body h3,
.card-body h4 {
    color: #1a1a2e;
}

/* Table hover */
.table-hover tbody tr:hover {
    background-color: rgba(79, 70, 229, 0.04);
}

/* Badge refinements */
.badge {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Code blocks for referral codes */
code {
    color: #4F46E5;
    background-color: rgba(79, 70, 229, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
}

/* Admin nav active state */
.navbar-dark .nav-link.active,
.navbar-dark .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
}

/* Affiliate nav branding */
.navbar .navbar-brand {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Form labels */
.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
}

/* Responsive table scroll hint */
.table-responsive {
    -webkit-overflow-scrolling: touch;
}

/* Alert tweaks */
.alert {
    font-size: 0.9rem;
}

/* Chart containers */
canvas {
    max-width: 100%;
}

/* Footer */
footer {
    font-size: 0.8rem;
}

/* Landing page min-height */
.min-vh-75 {
    min-height: 60vh;
}

/* Print-friendly payout exports */
@media print {
    .navbar, footer, .btn, .alert {
        display: none !important;
    }
    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }
}
