:root {
    --navy: #0f2044;
    --blue: #1a56db;
    --blue-light: #e8f0fe;
    --accent: #f0a500;
    --bg: #f0f4fb;
    --card-shadow: 0 8px 32px rgba(15,32,68,0.12);
}

body {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.main-content { flex: 1; }
.footer { margin-top: auto; }

/* Navbar */
.navbar {
    background: var(--navy) !important;
    padding: 0.75rem 0;
    border-bottom: 3px solid var(--accent);
}
.navbar-text { color: #a0b4d6 !important; font-size: 0.95rem; }

/* Card */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%) !important;
    color: #fff !important;
    padding: 1.5rem 1.75rem;
    border-radius: 0 !important;
}
.card-header h3 { font-weight: 700; letter-spacing: 0.3px; }
.card-header small { color: #a0c4ff; }
.card-header .bi { color: var(--accent); }

.card-body { padding: 2rem 1.75rem; background: #fff; }

/* File input */
.form-label { color: var(--navy); font-weight: 600; }
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.15);
}

/* Button */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--blue) 0%, #1340a8 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: opacity 0.2s, transform 0.1s;
}
.btn-primary-custom:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); color: #fff; }
.btn-primary-custom:disabled { opacity: 0.65; }

/* Progress */
.progress {
    border-radius: 8px;
    background-color: #dde6f7;
    height: 22px !important;
}
.progress-bar {
    background: linear-gradient(90deg, var(--blue), #1340a8);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.spinner-border.text-primary-custom { color: var(--blue) !important; }

/* Footer */
.footer { background: var(--navy) !important; border-top: 3px solid var(--accent); }
.footer span { color: #7a94bb !important; font-size: 0.88rem; }

/* Result alerts */
.alert-success { background: #e6f9f0; border-color: #34c77b; color: #1a6640; }
.alert-warning { background: #fff8e6; border-color: var(--accent); color: #7a5000; }
