/* ============================================================
   AIRTEL EXECUTIVE PREMIUM THEME
   C-Suite Grade Design - NO FUNCTIONALITY CHANGES
   Pure Visual Enhancement Only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   ENHANCED GLOBAL STYLES
   ============================================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background: #FAFBFC !important;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(230, 0, 0, 0.02) 0%, transparent 40%),
        linear-gradient(180deg, #FAFBFC 0%, #F5F7FA 100%) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px !important;
    padding: 20px 30px !important;
}

/* ============================================================
   PREMIUM HEADER
   ============================================================ */

header {
    background: white !important;
    padding: 16px 24px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #E1E8ED !important;
    position: relative;
    overflow: hidden;
}

/* Red accent line at top */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E60000 0%, #FF1A1A 50%, #E60000 100%);
    box-shadow: 0 2px 12px rgba(230, 0, 0, 0.2);
}

/* Subtle background pattern */
header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(230, 0, 0, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.header-left {
    position: relative;
    z-index: 1;
}

.logo-container {
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(230, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.logo-container:hover {
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(230, 0, 0, 0.12) !important;
}

.logo-img {
    height: 45px !important;
    filter: drop-shadow(0 1px 4px rgba(230, 0, 0, 0.1));
}

.header-text p {
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    background: linear-gradient(135deg, #E60000 0%, #B30000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   PREMIUM UPLOAD SECTION
   ============================================================ */

.upload-section {
    background: white !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #E1E8ED !important;
    transition: all 0.5s ease;
}

.upload-section:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.06) !important;
}

.upload-box {
    padding: 40px 30px !important;
    border: 2px dashed #D1D8DF !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(250, 251, 252, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.upload-box:hover,
.upload-box.dragover {
    border-color: #E60000 !important;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.02) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 12px 28px rgba(230, 0, 0, 0.15) !important;
}

.upload-icon {
    font-size: 40px !important;
    margin-bottom: 12px !important;
    background: linear-gradient(135deg, #E60000 0%, #B30000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(230, 0, 0, 0.15));
}

.upload-box h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #1F2937 !important;
    letter-spacing: -0.01em;
}

.upload-box p {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #6B7280 !important;
    margin-bottom: 20px !important;
}

/* ============================================================
   PREMIUM BUTTONS
   ============================================================ */

.btn-primary {
    background: linear-gradient(135deg, #E60000 0%, #B30000 100%) !important;
    padding: 12px 32px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.20), 0 2px 4px rgba(230, 0, 0, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(230, 0, 0, 0.3), 0 6px 12px rgba(230, 0, 0, 0.2) !important;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-secondary {
    background: white !important;
    color: #E60000 !important;
    padding: 16px 44px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: 2px solid #E60000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #E60000 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.25) !important;
}

.btn-success {
    background: linear-gradient(135deg, #00C853 0%, #00A843 100%) !important;
    padding: 16px 44px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.25) !important;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 200, 83, 0.35) !important;
}

/* ============================================================
   PREMIUM PROCESSING ANIMATION
   ============================================================ */

.processing-box {
    padding: 70px 50px !important;
}

.spinner {
    width: 90px !important;
    height: 90px !important;
    border: 7px solid rgba(230, 0, 0, 0.08) !important;
    border-top: 7px solid #E60000 !important;
    margin: 0 auto 32px !important;
    box-shadow: 0 0 25px rgba(230, 0, 0, 0.2), inset 0 0 15px rgba(230, 0, 0, 0.05) !important;
}

.processing-box h2 {
    font-size: 30px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #E60000 0%, #B30000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.processing-box p {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #6B7280 !important;
}

.progress-bar {
    max-width: 650px !important;
    height: 12px !important;
    background: #F3F4F6 !important;
    border-radius: 20px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #E5E7EB !important;
}

.progress-fill {
    background: linear-gradient(90deg, #E60000 0%, #FF1A1A 50%, #E60000 100%) !important;
    background-size: 200% 100%;
    border-radius: 20px !important;
    animation: shimmerProgress 2s infinite, progressGlow 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.25) !important;
}

@keyframes shimmerProgress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(230, 0, 0, 0.25); }
    50% { box-shadow: 0 0 25px rgba(230, 0, 0, 0.4), 0 0 35px rgba(230, 0, 0, 0.3); }
}

.status-text {
    color: #E60000 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px;
}

/* ============================================================
   PREMIUM RESULTS SECTION
   ============================================================ */

.results-section {
    background: white !important;
    border-radius: 28px !important;
    padding: 60px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #E1E8ED !important;
}

.results-header {
    margin-bottom: 44px !important;
    padding-bottom: 22px !important;
    border-bottom: 3px solid #E60000 !important;
    position: relative;
}

.results-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #E60000 0%, #FF1A1A 100%);
    box-shadow: 0 0 12px rgba(230, 0, 0, 0.3);
}

.results-header h2 {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #1F2937 !important;
    letter-spacing: -0.02em;
}

/* Premium Data Cards */
.result-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%) !important;
    border-radius: 18px !important;
    padding: 30px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #E60000 0%, #B30000 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 18px 0 0 18px;
}

.result-card:hover::after {
    opacity: 1;
}

.result-card:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10) !important;
    border-color: rgba(230, 0, 0, 0.15) !important;
}

.result-card.highlight {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.02) 0%, #FFFFFF 100%) !important;
    border-color: rgba(230, 0, 0, 0.2) !important;
    box-shadow: 0 6px 16px rgba(230, 0, 0, 0.08) !important;
}

.result-card h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    margin-bottom: 22px !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #E5E7EB !important;
    color: #1F2937 !important;
}

/* ============================================================
   PREMIUM TABLE
   ============================================================ */

.table-container {
    border-radius: 18px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

thead {
    background: linear-gradient(135deg, #E60000 0%, #B30000 100%) !important;
}

th {
    padding: 18px 16px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: 0.8px !important;
    border-bottom: 2px solid #B30000 !important;
}

td {
    padding: 16px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

tbody tr:nth-child(even) {
    background: #FAFBFC !important;
}

tbody tr:hover {
    background: rgba(230, 0, 0, 0.02) !important;
    transform: scale(1.001);
    box-shadow: inset 3px 0 0 #E60000;
}

/* ============================================================
   PREMIUM FOOTER
   ============================================================ */

.nexum-footer {
    margin-top: 56px !important;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.nexum-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E60000 0%, #FF1A1A 50%, #E60000 100%);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.3);
    border-radius: 22px 22px 0 0;
}

.footer-content {
    padding: 44px 56px !important;
}

.footer-info p {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #E5E7EB !important;
}

.powered-by {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
}

.powered-by strong a {
    background: linear-gradient(135deg, #E60000 0%, #FF1A1A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px !important;
    font-weight: 900 !important;
    transition: all 0.3s;
}

.powered-by strong a:hover {
    filter: drop-shadow(0 0 15px rgba(230, 0, 0, 0.4));
}

.tech-stack {
    color: #9CA3AF !important;
    font-size: 12px !important;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 18px 56px !important;
    border-top: 1px solid rgba(230, 0, 0, 0.15) !important;
}

.footer-bottom p {
    color: #9CA3AF !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .container {
        padding: 24px 28px !important;
    }

    header {
        padding: 24px 32px !important;
    }

    .logo-img {
        height: 52px !important;
    }

    .upload-section, .results-section {
        padding: 36px 28px !important;
    }

    .upload-box {
        padding: 48px 32px !important;
    }

    .btn-primary, .btn-secondary, .btn-success {
        padding: 13px 32px !important;
        font-size: 14px !important;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

*:focus-visible {
    outline: 3px solid #E60000 !important;
    outline-offset: 2px;
}
