/* BPCL Reconciliation - Custom Styles */

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --brand-blue: #2563eb; /* blue */
    --brand-blue-dark: #1d4ed8;
    --brand-yellow: #fbbf24; /* yellow */
    --brand-yellow-dark: #f59e0b;
    --light-bg: #f8fafc;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-top: 80px; /* Account for fixed navbar */
    scroll-behavior: smooth;
}

/* Remove padding-top for login page to avoid header space */
body.login-page {
    padding-top: 0;
}

/* Dashboard Header Styles */
.dashboard-header {
    padding: 0.5rem 0;
}

/* User Management Styles */
.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

.dashboard-subtitle i {
    color: #667eea;
    display: inline-block;
    animation: graphIconAnimation 2.5s ease-in-out infinite;
}

@keyframes graphIconAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-3px) scale(1.1);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-2px) scale(1.05);
    }
}

/* Navbar Enhancements - Fancy Modern Design */
.custom-navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3), 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 1rem 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: visible;
    backdrop-filter: blur(10px);
    z-index: 1030 !important;
}

.custom-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: navbarShine 3s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes navbarShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.navbar-brand i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.nav-link {
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin: 0 0.35rem;
    padding: 0.65rem 1.25rem;
    color: rgba(255, 255, 255, 0.95) !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.nav-link:hover::before {
    width: 300px;
    height: 300px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stats-card {
    border-radius: 0;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid;
    border-left-width: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* Card 1: Today's Uploads - Vibrant Blue */
.stats-card:nth-child(1) {
    border-color: #3b82f6;
    border-left-color: #1d4ed8;
}

.stats-card:nth-child(1) .display-6,
.stats-card:nth-child(1) i {
    color: #2563eb;
}

/* Card 2: Today's Records - Emerald Green */
.stats-card:nth-child(2) {
    border-color: #34d399;
    border-left-color: #059669;
}

.stats-card:nth-child(2) .display-6,
.stats-card:nth-child(2) i {
    color: #10b981;
}

/* Card 3: Matched Records - Royal Purple */
.stats-card:nth-child(3) {
    border-color: #a78bfa;
    border-left-color: #7c3aed;
}

.stats-card:nth-child(3) .display-6,
.stats-card:nth-child(3) i {
    color: #8b5cf6;
}

/* Card 4: Unmatched Records - Coral Red */
.stats-card:nth-child(4) {
    border-color: #f87171;
    border-left-color: #dc2626;
}

.stats-card:nth-child(4) .display-6,
.stats-card:nth-child(4) i {
    color: #ef4444;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.stats-card .text-white-50 {
    color: #64748b !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-card .text-white {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1;
}

.stats-card .display-6 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Stats Card Icon Animation */
.stats-card i {
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
}

.stats-card:nth-child(1) i {
    animation-delay: 0s;
}

.stats-card:nth-child(2) i {
    animation-delay: 0.2s;
}

.stats-card:nth-child(3) i {
    animation-delay: 0.4s;
}

.stats-card:nth-child(4) i {
    animation-delay: 0.6s;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.stats-card:hover i {
    animation: iconBounce 0.6s ease;
}


@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-10px) scale(1.1);
    }
    50% {
        transform: translateY(0) scale(1.05);
    }
    75% {
        transform: translateY(-5px) scale(1.08);
    }
}

.stats-card .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Button Enhancements */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: #78350f !important;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #78350f !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.btn-outline-primary {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    background: white;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    color: #78350f !important;
}

.bg-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}

.bg-primary i, .bg-primary .text-white {
    color: #78350f !important;
}

.user-avatar-box {
    background: #fb923c;
    border: 2px solid #f97316;
}

.user-avatar-box i {
    color: #ffffff;
}

.btn-warning {
    background: var(--brand-yellow);
    border: none;
    color: #1f2937;
}

.btn-warning:hover {
    background: var(--brand-yellow-dark);
    color: #1f2937;
}

/* Form Enhancements */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Table Enhancements */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    background-color: var(--brand-yellow);
    border: none;
    font-weight: 600;
    color: #1f2937;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-color: #e2e8f0;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(251, 191, 36, 0.15);
}

/* Login Page Enhancements - Fancy Modern Design */
.login-container {
    min-height: 100vh;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Left Section - Animation Area */
.login-left-section {
    min-height: 100vh;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

/* Right Section - Login Card Area */
.login-right-section {
    min-height: 100vh;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.login-card-wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

/* Animated Background Particles */
.login-container::before,
.login-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: floatParticles 20s infinite ease-in-out;
    pointer-events: none;
}

.login-container::before {
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.login-container::after {
    bottom: -150px;
    right: -150px;
    animation-delay: 10s;
    width: 500px;
    height: 500px;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
        opacity: 0.6;
    }
}

/* Floating Decorative Circles */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation: floatCircle1 15s infinite ease-in-out;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 10%;
    animation: floatCircle2 18s infinite ease-in-out;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 8%;
    animation: floatCircle3 12s infinite ease-in-out;
}

.circle-4 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 12%;
    animation: floatCircle4 20s infinite ease-in-out;
}

.circle-5 {
    width: 90px;
    height: 90px;
    top: 50%;
    right: 5%;
    animation: floatCircle5 16s infinite ease-in-out;
}

@keyframes floatCircle1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 40px); }
}

@keyframes floatCircle2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
}

@keyframes floatCircle3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -50px); }
}

@keyframes floatCircle4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 20px); }
}

@keyframes floatCircle5 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Login Title & Subtitle - Large Version for Left Side */
.login-title-large {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.4);
    letter-spacing: -1px;
    animation: titleFadeIn 0.8s ease-out;
    position: relative;
    z-index: 10;
}

.login-subtitle-large {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: titleFadeIn 0.8s ease-out 0.2s backwards;
    position: relative;
    z-index: 10;
}

.login-subtitle-large i {
    font-size: 1.4rem;
    animation: iconBounce 2s ease-in-out infinite;
}

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

/* Large Data Matching Animation for Left Side */
.data-matching-animation-large {
    position: relative;
    padding: 3rem 0;
    animation: dataContainerPulse 4s ease-in-out infinite;
    z-index: 10;
}

.data-flow-container-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

/* Large Data Source Icons */
.data-icon-large {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: dataIconFloat 3s ease-in-out infinite;
    min-width: 150px;
}

.data-icon-large i {
    font-size: 3.5rem;
    color: white;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    animation: iconGlow 2s ease-in-out infinite;
}

.data-icon-large .data-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Large Sync Icon */
.sync-icon-large {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: syncPulseMain 2s ease-in-out infinite;
    box-shadow: 
        0 0 0 0 rgba(251, 191, 36, 0.7),
        0 10px 30px rgba(251, 191, 36, 0.5);
    position: relative;
    z-index: 2;
}

.sync-icon-large i {
    font-size: 2.5rem;
    color: #78350f;
    animation: checkScale 2s ease-in-out infinite;
    font-weight: 900;
}

/* Large Data Particles */
.data-particle-large {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(251, 191, 36, 1);
    opacity: 0;
}

.data-particle-large.particle-1 {
    left: 48%;
    top: 50%;
    animation: particleFlowLarge1 3s ease-in-out infinite;
}

.data-particle-large.particle-2 {
    left: 50%;
    top: 50%;
    animation: particleFlowLarge2 3s ease-in-out 1s infinite;
}

.data-particle-large.particle-3 {
    left: 52%;
    top: 50%;
    animation: particleFlowLarge3 3s ease-in-out 2s infinite;
}

@keyframes particleFlowLarge1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-30px, 20px) scale(1);
    }
    40% {
        opacity: 1;
        transform: translate(30px, 20px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(0, 40px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 60px) scale(0);
    }
}

@keyframes particleFlowLarge2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-40px, 15px) scale(1);
    }
    40% {
        opacity: 1;
        transform: translate(40px, 15px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(0, 35px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 55px) scale(0);
    }
}

@keyframes particleFlowLarge3 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-35px, 10px) scale(1);
    }
    40% {
        opacity: 1;
        transform: translate(35px, 10px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(0, 30px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 50px) scale(0);
    }
}

/* Data Matching Animation - ANPR & Pump Reconciliation Flow */
.data-matching-animation {
    position: relative;
    padding: 2rem 0;
    animation: dataContainerPulse 4s ease-in-out infinite;
}

@keyframes dataContainerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.data-flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

/* Connecting Lines from Animation to Card */
.data-matching-animation::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, 
        rgba(251, 191, 36, 0.6) 0%, 
        rgba(251, 191, 36, 0) 100%);
    animation: lineFlow 2s ease-in-out infinite;
}

@keyframes lineFlow {
    0%, 100% {
        opacity: 0.3;
        height: 40px;
    }
    50% {
        opacity: 1;
        height: 50px;
    }
}

/* Flowing Data Particles */
.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
    opacity: 0;
}

.particle-1 {
    left: 50%;
    top: 80%;
    animation: particleFlow1 3s ease-in-out infinite;
}

.particle-2 {
    left: 45%;
    top: 80%;
    animation: particleFlow2 3s ease-in-out 1s infinite;
}

.particle-3 {
    left: 55%;
    top: 80%;
    animation: particleFlow3 3s ease-in-out 2s infinite;
}

@keyframes particleFlow1 {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(10px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(100px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(120px) scale(0);
    }
}

@keyframes particleFlow2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(5px, 10px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(10px, 100px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(15px, 120px) scale(0);
    }
}

@keyframes particleFlow3 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(-5px, 10px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-10px, 100px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-15px, 120px) scale(0);
    }
}

/* Data Source Icons */
.data-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: dataIconFloat 3s ease-in-out infinite;
}

.vehicle-data {
    animation-delay: 0s;
}

.pump-data {
    animation-delay: 1.5s;
}

@keyframes dataIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.data-icon i {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.6));
    }
}

.data-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animated Data Particles Flowing */
.vehicle-data::after,
.pump-data::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 12px #fbbf24;
}

.vehicle-data::after {
    right: -20px;
    animation: dataFlowRight 2s ease-in-out infinite;
}

.pump-data::before {
    left: -20px;
    animation: dataFlowLeft 2s ease-in-out infinite;
}

@keyframes dataFlowRight {
    0%, 100% {
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateX(40px) scale(1);
    }
}

@keyframes dataFlowLeft {
    0%, 100% {
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-40px) scale(1);
    }
}

/* Center Sync/Match Icon */
.sync-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: syncPulseMain 2s ease-in-out infinite;
    box-shadow: 
        0 0 0 0 rgba(251, 191, 36, 0.7),
        0 8px 20px rgba(251, 191, 36, 0.4);
    position: relative;
    z-index: 2;
}

@keyframes syncPulseMain {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 0 0 rgba(251, 191, 36, 0.7),
            0 8px 20px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 
            0 0 0 10px rgba(251, 191, 36, 0),
            0 8px 30px rgba(251, 191, 36, 0.6);
    }
}

/* Ripple Effect - Shows Data Processing */
.sync-icon::before,
.sync-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fbbf24;
    animation: syncRipple 3s ease-out infinite;
}

.sync-icon::after {
    animation-delay: 1.5s;
}

/* Check Mark - Shows Successful Match */
.sync-icon i {
    font-size: 2rem;
    color: #78350f;
    animation: checkScale 2s ease-in-out infinite;
    font-weight: 900;
}


@keyframes syncRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes checkScale {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    30% {
        transform: scale(1.3) rotate(-10deg);
    }
    60% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Connection Lines */
.data-flow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    right: 30%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(251, 191, 36, 0) 0%,
        rgba(251, 191, 36, 0.8) 50%,
        rgba(251, 191, 36, 0) 100%);
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
    opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Card Decorative Top Border */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    animation: cardGlowFlow 3s ease-in-out infinite;
}

@keyframes cardGlowFlow {
    0%, 100% {
        opacity: 0.8;
        background-position: 0% 50%;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
        background-position: 100% 50%;
    }
}

.login-card .card-body {
    padding: 2.5rem !important;
    position: relative;
    z-index: 1;
}

.login-card:hover {
    animation: none;
    transform: translateY(-5px);
    box-shadow: 
        0 35px 100px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: all 0.3s ease;
}

/* Login Card Header */
.login-card .text-center h3 {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.login-card .text-center p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Login Form - Clean & Simple */
.login-card .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.login-card .input-group {
    border-radius: 12px;
    overflow: hidden;
}

.login-card .input-group-text {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-right: none;
    padding: 12px 16px;
}

.login-card .input-group-text i {
    color: #6b7280;
    font-size: 1.1rem;
}

.login-card .form-control {
    border: 2px solid #e5e7eb;
    border-left: none;
    padding: 12px 16px;
    font-size: 1rem;
}

.login-card .form-control:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
    outline: none;
}

.login-card .input-group:focus-within .input-group-text {
    border-color: #fbbf24;
    background: #fef3c7;
}

.login-card .input-group:focus-within .input-group-text i {
    color: #f59e0b;
}

/* Password Toggle Eye Icon */
.password-toggle {
    transition: all 0.3s ease;
}

.password-toggle:hover {
    background: #fef3c7 !important;
}

.password-toggle:hover i {
    color: #f59e0b !important;
}

.password-toggle i {
    transition: all 0.3s ease;
}

/* Login Button - Clean & Bold */
.login-card .btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #78350f;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
    position: relative;
}

.login-card .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.login-card .btn-primary:active:not(:disabled) {
        transform: translateY(0);
}

.login-card .btn-primary i {
    margin-right: 8px;
}

/* Login Button Spinner */
.login-card .btn-primary .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    border-color: #78350f;
    border-right-color: transparent;
    animation: spinner-border 0.75s linear infinite;
}

.login-card .btn-primary:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Upload Page Enhancements */
.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--brand-yellow);
}

.upload-zone:hover {
    border-color: var(--brand-blue);
    background: var(--brand-yellow-dark);
    transform: translateY(-2px);
}

.upload-zone.dragover {
    border-color: var(--brand-blue);
    background: var(--brand-yellow-dark);
}

/* Upload Zone Enhanced - Soft Normal, Colorful on Hover */
.upload-zone-dashboard {
    border: 3px dashed #d1d5db;
    border-radius: 20px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upload-zone-dashboard::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.8s ease;
}

.upload-zone-dashboard:hover::before {
    left: 100%;
}

.upload-zone-dashboard:hover {
    border-color: #6b7280;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.upload-zone-dashboard.dragover {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    transform: scale(1.05);
    box-shadow: 0 40px 80px rgba(251, 191, 36, 0.5);
}

.upload-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.upload-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.8;
    }
}

/* Upload Zone Text Colors - Normal vs Hover */
.upload-zone-dashboard .upload-icon {
    color: #6b7280;
    transition: all 0.4s ease;
}

.upload-zone-dashboard .upload-text {
    color: #374151;
    transition: all 0.4s ease;
}

.upload-zone-dashboard:hover .upload-icon {
    color: #4b5563;
}

.upload-zone-dashboard:hover .upload-text {
    color: #1f2937;
}

.upload-zone-dashboard:hover .upload-text:last-child {
    color: #4b5563;
}

/* Format Cards */
.format-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.loading-content {
    text-align: center;
    color: #1f2937;
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #e5e7eb;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
    border-top-color: #667eea;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
    border-top-color: #764ba2;
    transform: scale(0.8);
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
    border-top-color: #f59e0b;
    transform: scale(0.6);
}

.spinner-ring:nth-child(4) {
    animation-delay: 0.6s;
    border-top-color: #10b981;
    transform: scale(0.4);
}

.loading-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.loading-subtext {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0;
}

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

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Progress Bar Styles */
.progress-container {
    margin-top: 2rem;
    width: 100%;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-percentage {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

/* Enhanced Progress Bar */
.enhanced-progress-container {
    margin-top: 2rem;
}

.progress-bar-bg {
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f59e0b 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

.progress-bar-glow {
    position: absolute;
    top: -2px;
    left: 0;
    height: 20px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f59e0b 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
    opacity: 0.3;
    filter: blur(4px);
}

.progress-percentage-enhanced {
    text-align: center;
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 700;
    margin-top: 1rem;
    text-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Super Completion Modal */
.completion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.5s ease-out;
}

.completion-content {
    background: white;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    max-width: 1000px;
    width: 98%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.completion-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f59e0b 100%);
}

.completion-animation {
    position: relative;
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: checkmarkPop 0.6s ease-out;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.check-icon {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    animation: checkmarkDraw 0.8s ease-out 0.3s both;
}

.celebration-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    animation: particleFloat 2s ease-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.2s; }
.particle:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 0.4s; }
.particle:nth-child(4) { bottom: 20%; right: 30%; animation-delay: 0.6s; }
.particle:nth-child(5) { top: 50%; left: 10%; animation-delay: 0.8s; }
.particle:nth-child(6) { top: 50%; right: 10%; animation-delay: 1s; }


.completion-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.completion-subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.completion-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}


.completion-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.completion-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
}

@keyframes modalFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes modalSlideIn {
    0% { transform: translateY(-50px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes checkmarkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes checkmarkDraw {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(-45deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}


/* Outline Warning Button - Golden Theme */
.btn-outline-warning {
    border: 2px solid #f59e0b;
    color: #78350f;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    color: #78350f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Outline Primary Button - Golden Theme (for Send Daily Summary) */
.btn-outline-primary {
    border: 2px solid #f59e0b;
    color: #78350f;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    color: #78350f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Badges aligned to theme */
.badge.bg-primary { background-color: var(--brand-blue) !important; }
.badge.bg-info { background-color: var(--brand-blue) !important; }
.badge.bg-warning { background-color: var(--brand-yellow) !important; color: #1f2937 !important; }
.badge.bg-secondary { background-color: #0ea5e9 !important; }

/* Pagination theme */
.pagination .page-item.active .page-link {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}
.pagination .page-link {
    color: var(--brand-blue);
}
.pagination .page-link:hover {
    color: var(--brand-blue-dark);
}

/* Toast Enhancements */
.toast {
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: none;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Dropdown Navigation Enhancements */
.dropdown-menu {
    background: white !important;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    border-radius: 8px;
    padding: 0.5rem;
    z-index: 1050 !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0.5rem;
    min-width: 200px;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    will-change: auto;
    z-index: 1050 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-item {
    color: #1f2937;
    transition: all 0.2s ease;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.dropdown-header {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem 0.25rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e5e7eb;
}

/* Mobile Navigation Improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        margin-top: 1rem;
        padding: 1rem;
        backdrop-filter: blur(10px);
    }
    
    .dropdown-menu {
        border: none;
        background: rgba(255, 255, 255, 0.95);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
}

/* Configuration Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-inactive {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Reconciliation Tool Specific Styles */
.reconciliation-tool {
    background: var(--light-bg);
    min-height: 100vh;
}

.reconciliation-tool .card {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: none;
    margin-bottom: 1.5rem;
}

.reconciliation-tool .card-header {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.reconciliation-tool .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.reconciliation-tool .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.reconciliation-tool .btn-lg:disabled,
.reconciliation-tool .btn-lg.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.reconciliation-tool .btn-lg .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Statistics Cards */
.stats-card {
    transition: all 0.3s ease;
    border-radius: 0;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stats-card h4 {
    font-weight: 700;
    margin: 0;
    font-size: 2rem;
}

.stats-card small {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.loading-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

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

.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    border-color: var(--brand-blue);
    border-right-color: transparent;
}

.loading-content p {
    margin: 1rem 0 0 0;
    color: #666;
    font-weight: 500;
}

/* Simple Table Styles */
.table-simple {
    font-size: 0.875rem;
}

.table-simple th {
    background: var(--light-bg);
    border-top: none;
    font-weight: 600;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-simple td {
    padding: 0.75rem 0.5rem;
    border-color: #eee;
    vertical-align: middle;
}

.table-simple tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* Badge Improvements */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Form Improvements */
.reconciliation-tool .form-control {
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.reconciliation-tool .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.reconciliation-tool .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Alert Improvements */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .reconciliation-tool .btn-lg {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .reconciliation-tool .card-body {
        padding: 1rem;
    }
    
    .stats-card h4 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* DataTables Styling */
.dataTables_wrapper {
    padding: 1.5rem;
}

.dataTables_wrapper .dataTables_length {
    float: left;
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length label {
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 0;
    padding: 6px 32px 6px 12px;
    border: 1px solid #d1d5db;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.dataTables_wrapper .dataTables_length select:hover {
    border-color: #2563eb;
}

.dataTables_wrapper .dataTables_length select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_filter label {
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 0;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background-color: white;
    font-size: 14px;
    width: 250px;
    transition: all 0.2s;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_info {
    float: left;
    padding-top: 1rem;
    font-size: 14px;
    color: #78350f;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    padding-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #6b7280 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    min-width: 42px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button a {
    color: #6b7280 !important;
    text-decoration: none;
    display: inline-block;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #fef3c7;
    color: #d97706 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover a {
    color: #d97706 !important;
}

/* Pagination active page - force golden theme, no blue/purple */
div.dataTables_wrapper div.dataTables_paginate .paginate_button.current,
div.dataTables_wrapper div.dataTables_paginate .paginate_button.current:hover,
table.dataTable tbody tr > .current,
.dataTables_wrapper .dataTables_paginate .current,
.dataTables_paginate .current,
.paginate_button.current,
.pagination .active > *,
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    background-color: #fbbf24 !important;
    background-image: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border: none !important;
    color: #78350f !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

div.dataTables_wrapper div.dataTables_paginate .paginate_button.current a,
div.dataTables_wrapper div.dataTables_paginate .paginate_button.current:hover a,
.dataTables_wrapper .dataTables_paginate .current a,
.paginate_button.current a {
    color: #78350f !important;
}

/* Override all possible DataTables default blue/purple backgrounds */
.dataTables_wrapper .dataTables_paginate span .current {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    background-color: #fbbf24 !important;
    color: #78350f !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #e5e7eb;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled a {
    color: #9ca3af !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: transparent !important;
    color: #9ca3af !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover a {
    color: #9ca3af !important;
}

/* Table Header Sorting */
table.dataTable thead th {
    position: relative;
    padding-right: 30px !important;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    cursor: pointer;
    position: relative;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    position: absolute;
    right: 10px;
    display: block;
    opacity: 0.3;
    font-family: "bootstrap-icons";
    font-size: 12px;
}

table.dataTable thead .sorting:before {
    content: "⇅";
    top: 50%;
    transform: translateY(-50%);
}

table.dataTable thead .sorting_asc:before {
    content: "▲";
    opacity: 1;
    color: #2563eb;
    top: 50%;
    transform: translateY(-50%);
}

table.dataTable thead .sorting_desc:before {
    content: "▼";
    opacity: 1;
    color: #2563eb;
    top: 50%;
    transform: translateY(-50%);
}

/* Clear default DataTables sorting icons */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    content: none !important;
}

/* Table body alignment */
table.dataTable tbody td {
    vertical-align: middle;
    padding: 12px 12px;
}

table.dataTable thead th {
    vertical-align: middle;
    padding: 12px 12px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

table.dataTable thead th i {
    color: #92400e;
}

table.dataTable tbody tr {
    transition: background-color 0.2s;
}

table.dataTable tbody tr:hover {
    background-color: #f9fafb;
}

/* Table container styling */
.table-responsive {
    border-radius: 0;
    overflow: hidden;
}

.card {
    border-radius: 0;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.card-header {
    border-bottom: none;
    border-radius: 0 !important;
}

/* User listing - remove padding for tables */
.user-listing .card-body {
    padding: 0 !important;
}

/* User form - add padding for form elements */
.user-form .card-body {
    padding: 1.5rem !important;
}

/* Dashboard Table Specific Column Widths */
#uploadsTable {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

#uploadsTable thead th:nth-child(1) { /* Filename */
    width: 22%;
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable thead th:nth-child(2) { /* Status */
    width: 15%;
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable thead th:nth-child(3) { /* Records */
    width: 10%;
    text-align: left;
}

#uploadsTable thead th:nth-child(4) { /* Matches */
    width: 18%;
    text-align: left;
}

#uploadsTable thead th:nth-child(5) { /* Uploaded By */
    width: 20%;
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable thead th:nth-child(6) { /* Time */
    width: 15%;
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-top: 1px solid #e5e7eb;
}

#uploadsTable tbody td:nth-child(1) { /* Filename */
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable tbody td:nth-child(2) { /* Status */
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable tbody td:nth-child(3) { /* Records */
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable tbody td:nth-child(4) { /* Matches column - allow wrap for badges */
    white-space: normal;
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable tbody td:nth-child(5) { /* Uploaded By */
    text-align: left;
    padding-left: 16px !important;
}

#uploadsTable tbody td:nth-child(6) { /* Time */
    text-align: left;
    padding-left: 16px !important;
}

/* Sharp table corners */
#uploadsTable thead tr:first-child th:first-child {
    border-top-left-radius: 0;
}

#uploadsTable thead tr:first-child th:last-child {
    border-top-right-radius: 0;
}

#uploadsTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0;
}

#uploadsTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0;
}

#uploadsTable tbody tr:last-child td {
    border-bottom: 1px solid #e5e7eb;
}

/* Empty state styling */
#uploadsTable tbody tr.empty-state-row td {
    text-align: center;
    padding: 3rem 1rem;
    border: none;
    background: transparent;
    width: 100%;
}

/* Responsive adjustments - Dashboard Tables */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }
    
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
    }
    
    /* Make table scrollable on mobile */
    #uploadsTable {
        table-layout: auto;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Responsive adjustments - Login Page */
@media (max-width: 991px) {
    .login-left-section,
    .login-right-section {
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .login-title-large {
        font-size: 2.5rem;
    }
    
    .login-subtitle-large {
        font-size: 1.1rem;
    }
    
    .data-icon-large {
        padding: 1.5rem 2rem;
        min-width: 120px;
    }
    
    .data-icon-large i {
        font-size: 2.5rem;
    }
    
    .sync-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .sync-icon-large i {
        font-size: 2rem;
    }
    
    .data-flow-container-large {
        gap: 1.5rem;
    }
}
