/* ============================================================
   style.css — SSIFWA Refund Portal Stylesheet
   Copyright © Orena Cloud, Inc.
   ============================================================ */

/* ── CSS Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f1f6fa;
    color: #2c2c2c;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: #283890;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #1d2a6b;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    background: #283890;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 62px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.navbar-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
}

.navbar-brand img {
    height: 36px;
    width: auto;
    display: inline-block;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
}

.navbar-right a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.navbar-right a:hover {
    color: #fff;
    text-decoration: none;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ── Hamburger (Mobile) ─────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 149;
}

.sidebar-overlay.active {
    display: block;
}

/* ── Landing Page ──────────────────────────────────────────── */
.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #1a2770 0%, #283890 50%, #1f4d8c 100%);
}

.landing-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 40px;
    color: #fff;
}

.landing-logo {
    margin-bottom: 8px;
}

.landing-logo img {
    max-width: 180px;
    margin: 0 auto 24px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.landing-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
    max-width: 640px;
    letter-spacing: -0.5px;
}

.landing-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.landing-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.22s ease;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #e85b2d;
    color: #fff;
    border-color: #e85b2d;
}

.btn-primary:hover {
    background: #d14e22;
    border-color: #d14e22;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

.btn-outline-navy {
    background: transparent;
    color: #283890;
    border-color: #283890;
}

.btn-outline-navy:hover {
    background: #283890;
    color: #fff;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
    color: #fff;
}

.btn-success {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.btn-success:hover {
    background: #218838;
    border-color: #218838;
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 4px;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    color: #fff;
}

/* ── Auth Pages ──────────────────────────────────────────────── */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(145deg, #1a2770 0%, #283890 55%, #1f4d8c 100%);
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    padding: 40px 36px;
    width: 100%;
    max-width: 460px;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card .auth-logo img {
    height: 48px;
    margin: 0 auto 14px;
    filter: none;
}

.auth-card h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #283890;
    margin-bottom: 4px;
    text-align: center;
}

.auth-card .auth-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 28px;
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 0.88rem;
    color: #6b7280;
}

.auth-footer a {
    color: #283890;
    font-weight: 600;
}

/* ── Portal Layout ──────────────────────────────────────────── */
.portal-layout {
    display: flex;
    min-height: calc(100vh - 62px);
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #dce3ef;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 62px;
    height: calc(100vh - 62px);
    overflow-y: auto;
    z-index: 150;
}

.sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #dce3ef;
    background: #f8fafc;
}

.sidebar-header h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.sidebar-header p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #283890;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: #4b5563;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.18s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
    position: relative;
}

.sidebar-nav a:hover {
    background: #f1f6fa;
    color: #283890;
    text-decoration: none;
    border-left-color: #283890;
}

.sidebar-nav a.active {
    background: #eef1fb;
    color: #283890;
    border-left-color: #e85b2d;
    font-weight: 600;
}

.sidebar-nav a.logout-link {
    color: #dc3545;
    margin-top: 8px;
    border-top: 1px solid #dce3ef;
    padding-top: 14px;
}

.sidebar-nav a.logout-link:hover {
    background: #fff5f5;
    border-left-color: #dc3545;
    color: #b91c1c;
}

.nav-icon {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-badge {
    margin-left: auto;
    background: #e85b2d;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 2px 7px;
    min-width: 20px;
    text-align: center;
}

/* ── Main Content ────────────────────────────────────────────── */
.main-content {
    flex: 1;
    padding: 28px 32px;
    min-width: 0;
}

/* ── Page Header ─────────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.page-header p {
    color: #64748b;
    font-size: 0.88rem;
    margin-top: 3px;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dce3ef;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #283890;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f6fa;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Stats Grid ──────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dce3ef;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-card .stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9ca3af;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #283890;
    line-height: 1.1;
}

.stat-card.stat-pending .stat-value  { color: #d97706; }
.stat-card.stat-approved .stat-value { color: #28a745; }
.stat-card.stat-rejected .stat-value { color: #dc3545; }

.stat-card .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #e85b2d;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #dce3ef;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2c2c2c;
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23374151' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #283890;
    box-shadow: 0 0 0 3px rgba(40,56,144,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-group .field-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc3545;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

fieldset {
    border: 1.5px solid #dce3ef;
    border-radius: 8px;
    padding: 20px 22px 16px;
    margin-bottom: 22px;
}

legend {
    font-size: 0.88rem;
    font-weight: 700;
    color: #283890;
    padding: 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
    flex-wrap: wrap;
}

/* ── Tables ──────────────────────────────────────────────────── */
.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #dce3ef;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: #fff;
}

thead tr {
    background: #283890;
    color: #fff;
}

thead th {
    padding: 12px 16px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: #f8fafc;
}

tbody td {
    padding: 12px 16px;
    color: #374151;
    vertical-align: middle;
}

tbody td .action-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.table-empty {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}

.table-empty .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.table-empty p {
    font-size: 0.92rem;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.badge-approved {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: 7px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* ── QR Code Box ─────────────────────────────────────────────── */
.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    background: #f8fafc;
    border: 2px dashed #dce3ef;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.qr-box img {
    width: 160px;
    height: 160px;
    image-rendering: pixelated;
    border: 4px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    margin-bottom: 14px;
}

.qr-box p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 6px;
}

.qr-box h4 {
    color: #283890;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.qr-unavailable {
    color: #9ca3af;
    font-size: 0.85rem;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

/* ── Request Detail View ─────────────────────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.detail-item {
    background: #f8fafc;
    border: 1px solid #dce3ef;
    border-radius: 8px;
    padding: 14px 16px;
}

.detail-item .detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.detail-item .detail-value {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    word-break: break-word;
}

.status-section {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #dce3ef;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.status-section .status-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.status-section .status-date {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-left: auto;
}

.admin-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dce3ef;
    flex-wrap: wrap;
}

.admin-actions form {
    display: inline;
}

/* ── Filter Tabs ─────────────────────────────────────────────── */
.filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #dce3ef;
    border-radius: 8px;
    padding: 4px;
    overflow-x: auto;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.87rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    background: none;
}

.filter-tab:hover {
    background: #f1f6fa;
    color: #283890;
    text-decoration: none;
}

.filter-tab.active {
    background: #283890;
    color: #fff;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 20px 24px;
    font-size: 0.82rem;
    line-height: 1.6;
}

footer a {
    color: rgba(255,255,255,0.85);
}

footer a:hover {
    color: #fff;
}

.portal-footer {
    background: #fff;
    border-top: 1px solid #dce3ef;
    text-align: center;
    padding: 16px 24px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ── Success Submission Card ─────────────────────────────────── */
.success-card {
    text-align: center;
    padding: 40px 32px;
}

.success-card .success-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.success-card h2 {
    color: #065f46;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.success-card p {
    color: #4b5563;
    font-size: 0.92rem;
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Profile Section ─────────────────────────────────────────── */
.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.profile-info-item {
    background: #f8fafc;
    border: 1px solid #dce3ef;
    border-radius: 8px;
    padding: 14px 16px;
}

.profile-info-item .profile-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.profile-info-item .profile-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .main-content {
        padding: 20px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        height: 100vh;
        width: 250px;
        transition: left 0.28s ease;
        z-index: 200;
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    }

    .sidebar.open {
        left: 0;
    }

    .portal-layout {
        flex-direction: column;
    }

    .main-content {
        padding: 18px 14px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        padding: 0 16px;
    }

    .navbar-right .navbar-user-name {
        display: none;
    }
}

@media (max-width: 560px) {
    .landing-hero h1 {
        font-size: 1.5rem;
    }

    .landing-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .landing-cta .btn {
        width: 100%;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .status-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .status-section .status-date {
        margin-left: 0;
    }

    .filter-tabs {
        flex-wrap: nowrap;
    }
}

/* ── Utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: #9ca3af; }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.d-flex { display: flex; }
.gap-2  { gap: 8px; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }

/* ── PDF Button ───────────────────────────────────────────── */
.btn-pdf {
    background: #283890;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.btn-pdf:hover {
    background: #1d2a6e;
    color: #fff;
}

/* PDF Not Available notice */
.pdf-pending-notice {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
    display: inline-block;
    padding: 6px 0;
}

/* PDF error / info page */
.pdf-error-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f1f6fa;
    padding: 24px;
}
.pdf-error-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    max-width: 480px;
    width: 100%;
}
.pdf-error-card .icon {
    font-size: 3rem;
    margin-bottom: 16px;
}
.pdf-error-card h2 {
    color: #283890;
    margin-bottom: 12px;
}
.pdf-error-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.pdf-error-card code {
    background: #f1f6fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
    color: #283890;
}
