/* ============================================
   Lato Font
   ============================================ */
@font-face {
    font-family: 'Lato';
    src: url('../assets/fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary: #003c71;
    --primary-light: #1a61ab;
    --primary-dark: #002347;
    --primary-darker: #0d2d5e;
    --accent: #1a61ab;
    --accent-bright: #1d76d8;
    --accent-light: #ebf0f5;
    --success: #27ae60;
    --success-light: #eafaf1;
    --warning: #f39c12;
    --warning-light: #fef9e7;
    --danger: #e74c3c;
    --danger-light: #fdedec;
    --purple: #8e44ad;
    --purple-light: #f4ecf7;
    --text: #2c3e50;
    --text-secondary: #556176;
    --text-muted: #95a5a6;
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-dark: #0d2d5e;
    --white: #ffffff;
    --border: #c8c8c8;
    --border-light: #e6e6e6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --radius-pill: 999px;
    --font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.2s ease;
    --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

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

input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ============================================
   Header v2 — Banesco Seguros redesign
   ============================================ */
header { position: sticky; top: 0; z-index: 100; background: var(--white); }

/* Top blue bar */
.top-bar {
    background: var(--primary-darker);
    color: var(--white);
    font-size: 13px;
}
.top-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.top-bar a {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s;
}
.top-bar a:hover { opacity: .85; color: var(--white); }
.top-bar .flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
}

/* Main header */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}
.main-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand-block {
    display: flex;
    align-items: center;
    gap: 32px;
}
.brand-logo { height: 44px; display: block; }
.brand-nav {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}
.brand-nav li {
    position: relative;
    padding: 0 20px;
}
.brand-nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: #d0d6dd;
}
.brand-nav a {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s;
}
.brand-nav a:hover { color: var(--primary); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all .2s;
    background: transparent;
    cursor: pointer;
}
.header-cta:hover { background: var(--primary); color: var(--white); }
.header-cta svg { width: 18px; height: 18px; }

/* Logout button (admin) - styled small in header right */
.header-logout {
    margin-left: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 6px;
}
.header-logout:hover { background: var(--bg-soft); color: var(--primary); }

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 22px;
    padding: 8px;
}

/* Mobile drawer */
.mobile-drawer {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 12px 24px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer li { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.mobile-drawer li:last-child { border-bottom: none; }
.mobile-drawer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    display: block;
}
.mobile-drawer a:hover { color: var(--primary); }

@media (max-width: 900px) {
    .brand-nav, .header-cta, .top-bar { display: none; }
    .mobile-toggle { display: inline-flex; align-items: center; }
    .top-bar.show-mobile { display: block; }
    .top-bar.show-mobile .top-bar-inner { justify-content: center; padding: 6px 16px; }
}

@media print { .noPrint { display: none; } }

/* ============================================
   Footer v2 — Banesco Seguros redesign
   ============================================ */
footer { margin-top: auto; position: relative; }

.footer-top {
    background: var(--white);
    padding: 56px 24px 32px;
}
.footer-top-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.footer-brand .footer-logo { height: 56px; display: block; }

.footer-col-title {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s;
}
.footer-col ul li a:hover { color: var(--primary); }
.link-pdf-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--border-light);
    border-radius: 4px;
    vertical-align: middle;
    transition: all .2s;
}
.footer-col ul li a:hover .link-pdf-tag {
    color: var(--white);
    background: var(--primary);
}

.footer-regulatory {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-regulatory .ssrp-logo { height: 50px; flex-shrink: 0; }
.footer-regulatory p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}
.footer-regulatory a {
    color: var(--text-secondary);
    text-decoration: underline;
}
.footer-regulatory a:hover { color: var(--primary); }

/* Bottom dark bar */
.footer-bottom {
    background: var(--primary-darker);
    color: var(--white);
}
.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.footer-copy .footer-mini-logo { height: 22px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background .2s;
    text-decoration: none;
}
.footer-social a:hover { background: rgba(255,255,255,0.25); color: var(--white); }
.footer-social i { font-size: 15px; }

.footer-version {
    position: absolute;
    right: 12px;
    bottom: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
    .footer-top-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-regulatory { flex-direction: column; align-items: flex-start; text-align: left; }
    .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================
   Main Content
   ============================================ */
#app-content {
    flex: 1;
    width: 100%;
}

.page-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px;
}

.page-container.narrow { max-width: 680px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover:not(:disabled) { background: #005fa3; }

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover:not(:disabled) { background: #219a52; }

.btn-warning { background: var(--warning); color: var(--white); }
.btn-warning:hover:not(:disabled) { background: #d68910; }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover:not(:disabled) { background: #c0392b; }

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover:not(:disabled) { background: var(--primary); color: var(--white); }

.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--bg); border-color: var(--text-secondary); }

.btn-lg { padding: 16px 40px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-xs { padding: 5px 12px; font-size: 12px; }

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow); }

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    font-size: 16px;
}

.card-body { padding: 24px; }

/* ============================================
   Forms
   ============================================ */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,119,204,0.12);
}

.form-control:disabled {
    background: var(--bg);
    color: var(--text-muted);
    cursor: not-allowed;
}

.form-control.error { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 12px; margin-top: 4px; display: none; }
.form-control.error + .form-error { display: block; }

.form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a6c7d' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ============================================
   Badge
   ============================================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: #b7791f; }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: var(--accent-light); color: var(--accent); }
.badge-neutral { background: #ecf0f1; color: #7f8c8d; }
.badge-purple { background: var(--purple-light); color: var(--purple); }

/* ============================================
   Tables
   ============================================ */
.table-wrap { overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
    background: var(--bg);
}

.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.table tr:hover td { background: rgba(0,119,204,0.02); }

.table .amount { font-weight: 700; font-family: 'Courier New', Consolas, monospace; }

/* ============================================
   Step Indicator
   ============================================ */
/* Stepper v2 — circles connected by thick lines, label under each */
.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 720px;
    margin: 8px auto 48px;
    padding: 0 24px;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    color: var(--primary);
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    line-height: 1.25;
}
.step + .step::before {
    content: '';
    position: absolute;
    left: calc(-50% + 28px);
    right: calc(50% + 28px);
    top: 24px;
    height: 4px;
    background: var(--primary-light);
    z-index: 0;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    background: var(--white);
    color: var(--primary-light);
    border: 3px solid var(--primary-light);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all .25s;
}
.step.active .step-number,
.step.completed .step-number {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.step.active {
    color: var(--primary);
    font-weight: 700;
}
.step.completed + .step::before {
    background: var(--primary);
}

@media (max-width: 600px) {
    .step { font-size: 12px; }
    .step-number { width: 40px; height: 40px; font-size: 16px; }
    .step + .step::before { top: 20px; left: calc(-50% + 24px); right: calc(50% + 24px); }
}

/* ============================================
   Loader
   ============================================ */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Inline loader */
.loader-inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

/* ============================================
   Polling state (success page while waiting)
   ============================================ */
.polling-container {
    text-align: center;
    padding: 48px 24px;
    max-width: 520px;
    margin: 0 auto;
}

.polling-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}
.polling-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: polling-rotate 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.polling-ring.delay-1 {
    inset: 12px;
    border-top-color: var(--primary-light);
    animation-duration: 1.8s;
    animation-direction: reverse;
}
.polling-ring.delay-2 {
    inset: 24px;
    border-top-color: var(--accent-bright);
    animation-duration: 2.2s;
}
.polling-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 36px;
    height: 36px;
    color: var(--primary);
    animation: polling-pulse 1.5s ease-in-out infinite;
}

@keyframes polling-rotate {
    to { transform: rotate(360deg); }
}
@keyframes polling-pulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.92); }
}

.polling-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    transition: opacity .3s;
}
.polling-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    min-height: 24px;
    transition: opacity .3s;
}

.polling-progress {
    width: 100%;
    height: 6px;
    background: var(--border-light);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}
.polling-progress-bar {
    height: 100%;
    width: 15%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-bright) 100%);
    border-radius: 999px;
    transition: width .8s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: 200% 100%;
    animation: polling-shimmer 2s linear infinite;
}
@keyframes polling-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.polling-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

@media (max-width: 600px) {
    .polling-spinner { width: 96px; height: 96px; }
    .polling-ring.delay-1 { inset: 10px; }
    .polling-ring.delay-2 { inset: 20px; }
    .polling-icon { width: 28px; height: 28px; }
    .polling-title { font-size: 22px; }
}

/* ============================================
   Modal
   ============================================ */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.2s ease;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { font-size: 18px; }

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.modal-close:hover { color: var(--text); }

.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

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

/* ============================================
   Toast
   ============================================ */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--accent); }
.toast-warning { background: var(--warning); }

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

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.pagination button:hover:not(:disabled) { background: var(--bg); border-color: var(--accent); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .page-info { font-size: 13px; color: var(--text-muted); padding: 0 8px; }

/* ============================================
   Filter Bar
   ============================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.filter-bar .form-group { margin-bottom: 0; min-width: 140px; }
.filter-bar .form-control { padding: 10px 12px; font-size: 13px; }
.filter-bar .form-label { font-size: 11px; }

@media (max-width: 768px) {
    .filter-bar { flex-direction: column; }
    .filter-bar .form-group { width: 100%; }
}

/* ============================================
   Stat Cards Grid
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 3px solid var(--border);
    transition: var(--transition);
}

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

.stat-card .stat-number { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.stat-card .stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.stat-card.s-success { border-top-color: var(--success); }
.stat-card.s-success .stat-number { color: var(--success); }
.stat-card.s-danger { border-top-color: var(--danger); }
.stat-card.s-danger .stat-number { color: var(--danger); }
.stat-card.s-warning { border-top-color: var(--warning); }
.stat-card.s-warning .stat-number { color: var(--warning); }
.stat-card.s-info { border-top-color: var(--accent); }
.stat-card.s-info .stat-number { color: var(--accent); }
.stat-card.s-neutral { border-top-color: var(--text-muted); }
.stat-card.s-neutral .stat-number { color: var(--text-muted); }
.stat-card.s-purple { border-top-color: var(--purple); }
.stat-card.s-purple .stat-number { color: var(--purple); }

/* ============================================
   Page: Landing v2 — Banesco Seguros redesign
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(13,45,94,0.85) 0%, rgba(13,45,94,0.45) 45%, rgba(13,45,94,0) 75%),
        url('../assets/img/hero-mujer.jpg') center right / cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--white);
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 540px; }
.hero h1 {
    font-size: 56px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.hero h1 strong { font-weight: 700; }
.hero-sub {
    font-size: 22px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 36px;
    opacity: 0.95;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-light);
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(13,45,94,0.3);
    border: none;
    cursor: pointer;
}
.hero-cta:hover {
    background: #2a7fd1;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,45,94,0.4);
}
.hero-cta svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
    .hero { min-height: 420px; }
    .hero-inner { padding: 48px 24px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 17px; }
    .hero {
        background:
            linear-gradient(180deg, rgba(13,45,94,0.85) 0%, rgba(13,45,94,0.65) 100%),
            url('../assets/img/hero-mujer.jpg') center / cover no-repeat;
    }
}

/* Info section (man in chair) */
.info-section {
    background: var(--white);
    padding: 80px 24px;
}
.info-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}
.info-image { text-align: center; }
.info-image img { max-width: 100%; height: auto; }
.info-text p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 400;
}
.info-text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .info-section { padding: 48px 24px; }
    .info-inner { grid-template-columns: 1fr; gap: 32px; }
    .info-image img { max-width: 280px; }
}

/* Help section (¿Necesitas ayuda?) */
.help-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    color: var(--white);
    padding: 64px 24px;
    text-align: center;
}
.help-inner {
    max-width: 700px;
    margin: 0 auto;
}
.help-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-style: italic;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}
.help-section h2 {
    font-size: 36px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 12px;
}
.help-section p {
    font-size: 17px;
    margin-bottom: 28px;
    opacity: 0.95;
}
.help-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all .25s;
    border: none;
    cursor: pointer;
}
.help-cta:hover {
    background: var(--bg-soft);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .help-section { padding: 48px 24px; }
    .help-section h2 { font-size: 28px; }
}

/* Floating WhatsApp */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 200;
    text-decoration: none;
    transition: transform .2s;
}
.whatsapp-fab:hover {
    transform: scale(1.08);
    color: var(--white);
}
.whatsapp-fab i { font-size: 28px; }

/* ============================================
   Page: Search
   ============================================ */
.search-card {
    max-width: 600px;
    margin: 0 auto;
}

.doc-type-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
}

.doc-type-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.doc-type-tab:not(:last-child) { border-right: 1px solid var(--border); }

.doc-type-tab.active {
    background: var(--primary);
    color: var(--white);
}

.doc-type-tab:hover:not(.active) { background: var(--bg); }

.cedula-fields {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cedula-fields .form-control { text-align: center; }
.cedula-separator { font-size: 20px; font-weight: 700; color: var(--text-muted); }

/* ============================================
   Page: Balances v2
   ============================================ */
.balance-greeting {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.25;
}
.balance-greeting .balance-greeting-emoji {
    margin-right: 6px;
    font-size: 26px;
}
.balance-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

#policiesList {
    max-width: 820px;
    margin: 0 auto;
}

/* Outer policy card — thin blue border, large radius */
.policy-card {
    background: var(--white);
    border-radius: 24px;
    border: 2px solid var(--primary-light);
    padding: 36px 40px;
    margin-bottom: 24px;
    transition: box-shadow .25s;
}
.policy-card:hover { box-shadow: 0 8px 24px rgba(13,45,94,0.08); }

/* Top: avatar + info grid */
.policy-header {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}
/* Avatar: ícono circular + badge con el ramo debajo */
.policy-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.policy-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f1fb 0%, #d1e3f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}
.policy-icon img { width: 64px; height: 64px; object-fit: contain; }
.policy-icon svg { width: 64px; height: 64px; }
.policy-type-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 999px;
    text-align: center;
    line-height: 1.3;
    max-width: 130px;
}
/* Badge para ramos no clasificados: gris sutil en vez de azul corporativo */
.policy-type-badge-other {
    background: var(--text-muted);
    opacity: 0.85;
}

.policy-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 24px;
    align-items: baseline;
}
.policy-info-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 16px;
    white-space: nowrap;
}
.policy-info-value {
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
}
.policy-info-value strong { font-weight: 700; }

/* Amount selector rows — pill input with radio at right */
.amount-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.amount-option {
    display: grid;
    grid-template-columns: 200px 1fr 32px;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.amount-option .amount-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: right;
}
.amount-option .amount-input {
    border: 2px solid var(--primary-light);
    background: var(--white);
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
    width: 100%;
    transition: all .2s;
    appearance: none;
    -moz-appearance: textfield;
}
.amount-option .amount-input::-webkit-outer-spin-button,
.amount-option .amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-option .amount-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,60,113,0.1);
}
.amount-option .amount-input[readonly] { cursor: pointer; }
.amount-option:hover .amount-input { border-color: var(--primary); }

/* Radio dot */
.amount-option .amount-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}
.amount-option:hover .amount-radio { border-color: var(--primary); }
.amount-option.selected .amount-radio {
    border-color: var(--primary);
    background: var(--primary);
}
.amount-option.selected .amount-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
}
.amount-option.selected .amount-input {
    border-color: var(--primary);
    background: rgba(0,60,113,0.03);
}
.amount-option.selected .amount-label { color: var(--primary); font-weight: 600; }

/* Hide native radio */
.amount-option input[type="radio"] { display: none; }

/* Pay button */
.policy-pay-btn {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
.policy-pay-btn .btn-pay {
    background: var(--primary);
    color: var(--white);
    padding: 16px 64px;
    border-radius: 999px;
    border: none;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    min-width: 320px;
    box-shadow: 0 4px 12px rgba(0,60,113,0.2);
}
.policy-pay-btn .btn-pay:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,60,113,0.3);
}
.policy-pay-btn .btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .policy-card { padding: 24px 20px; border-radius: 18px; }
    .policy-header {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    .policy-icon { width: 80px; height: 80px; }
    .policy-icon img, .policy-icon svg { width: 48px; height: 48px; }
    .policy-info-grid {
        grid-template-columns: 1fr;
        gap: 4px 0;
        text-align: center;
    }
    .policy-info-label { text-align: center; margin-top: 8px; font-size: 13px; }
    .policy-info-label:first-child { margin-top: 0; }
    .amount-option { grid-template-columns: 110px 1fr 28px; gap: 10px; }
    .amount-option .amount-label { font-size: 14px; }
    .amount-option .amount-input { padding: 10px 18px; font-size: 14px; }
    .policy-pay-btn .btn-pay { min-width: 0; width: 100%; padding: 14px 24px; }
    .balance-greeting { font-size: 22px; }
}

/* ============================================
   Page: Success v2 — pantalla final del pago
   ============================================ */
.success-v2 {
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 24px 48px;
}

/* Hero — ícono grande + título */
.success-hero {
    text-align: center;
    margin-bottom: 32px;
}

.success-icon-v2 {
    position: relative;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: success-icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.success-icon-v2 svg {
    width: 56px;
    height: 56px;
    position: relative;
    z-index: 2;
    animation: success-icon-draw 0.7s 0.2s ease-out both;
}
.success-icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
}
.success-icon-v2.ok {
    background: #d4f4e0;
    color: #1a9b4d;
}
.success-icon-v2.ok .success-icon-pulse {
    background: rgba(26, 155, 77, 0.25);
    animation: success-pulse 2s ease-out infinite;
}
.success-icon-v2.pending {
    background: #e3f0fd;
    color: var(--primary-light);
}
.success-icon-v2.pending svg {
    animation: success-icon-rotate 8s linear infinite;
}
.success-icon-v2.fail {
    background: #fde2e2;
    color: #c0392b;
}

@keyframes success-icon-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes success-icon-draw {
    0% { stroke-dasharray: 100; stroke-dashoffset: 100; }
    100% { stroke-dasharray: 100; stroke-dashoffset: 0; }
}
@keyframes success-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes success-icon-rotate {
    to { transform: rotate(360deg); }
}

.success-title-v2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.2;
}
.success-subtitle-v2 {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 460px;
    margin: 0 auto;
}

/* Tarjeta de recibo (caso éxito) */
.receipt-card {
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 28px;
    position: relative;
}
.receipt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-bright) 100%);
    border-radius: 24px 24px 0 0;
}
.receipt-header {
    text-align: center;
    padding-bottom: 24px;
}
.receipt-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}
.receipt-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
    word-break: break-all;
}
.receipt-date {
    font-size: 13px;
    color: var(--text-secondary);
}
.receipt-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0;
}
.receipt-body { padding-top: 24px; }
.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    font-size: 15px;
}
.receipt-row-label { color: var(--text-secondary); }
.receipt-row-value { color: var(--text); text-align: right; }
.receipt-row-value strong { color: var(--primary); font-weight: 700; }
.receipt-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 4px;
}
.receipt-amount-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}
.receipt-amount-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

/* Status card (pending / fail) */
.status-card {
    background: var(--white);
    border-radius: 24px;
    padding: 28px 32px;
    margin-bottom: 28px;
    border: 2px solid var(--border-light);
}
.status-card.pending { border-color: var(--primary-light); }
.status-card.fail { border-color: #e8a5a5; }
.status-card-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}
.status-card-label { color: var(--text-secondary); }
.status-card-value { color: var(--text); text-align: right; }
.status-card-value strong { color: var(--primary); font-weight: 700; }
.status-card-note {
    background: #eff6ff;
    border-left: 3px solid var(--primary-light);
    padding: 14px 18px;
    margin-top: 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}
.status-card-note strong { color: var(--primary); }
.status-card-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Acciones — botones pill */
.success-actions-v2 {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1;
}
.btn-pill svg { width: 18px; height: 18px; }
.btn-pill-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,60,113,0.2);
}
.btn-pill-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,60,113,0.3);
}
.btn-pill-outline {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}
.btn-pill-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .receipt-card, .status-card { padding: 24px 20px; border-radius: 18px; }
    .receipt-number { font-size: 34px; }
    .receipt-amount-value { font-size: 26px; }
    .success-title-v2 { font-size: 24px; }
    .success-icon-v2 { width: 96px; height: 96px; }
    .success-icon-v2 svg { width: 48px; height: 48px; }
    .btn-pill { padding: 12px 24px; font-size: 14px; flex: 1; min-width: 0; }
    .success-actions-v2 { flex-wrap: nowrap; }
}

/* Print: ocultar lo no esencial, imprimir solo el recibo */
@media print {
    header, footer, .noPrint, .steps, .success-hero { display: none !important; }
    body, #app-content, .page-container { background: white !important; padding: 0 !important; margin: 0 !important; }
    .receipt-card { border: 2px solid #000 !important; box-shadow: none !important; max-width: 100%; margin: 20px; }
    .receipt-card::before { display: none !important; }
}

/* ============================================
   Page: Login
   ============================================ */
.login-wrapper {
    min-height: calc(100vh - 64px - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--bg) 0%, #dce7f0 100%);
}

.login-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 420px;
    max-width: 100%;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 24px;
}

.login-card .login-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 14px;
}

.login-card .btn-primary { width: 100%; margin-top: 8px; }

.login-toggle {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.login-error {
    background: var(--danger-light);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

/* ============================================
   Page: Dashboard
   ============================================ */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-header h2 { font-size: 22px; color: var(--primary); }

.dashboard-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.dashboard-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.dashboard-tab {
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.dashboard-tab:hover { color: var(--text); }
.dashboard-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Table section within dashboard */
.table-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-section-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.table-section-header h3 { font-size: 16px; }
.table-section-header .info { font-size: 13px; color: var(--text-muted); }

.table-section .table-wrap { padding: 0; }

/* Breakdown table */
.breakdown-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 24px;
}

.breakdown-section h3 { font-size: 15px; margin-bottom: 16px; color: var(--text); }

/* ============================================
   Terms Modal Content
   ============================================ */
.terms-content {
    max-height: 60vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.terms-content h4 {
    color: var(--text);
    margin-top: 16px;
    margin-bottom: 8px;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-primary { color: var(--primary); }
.font-mono { font-family: 'Courier New', Consolas, monospace; }
.font-bold { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header, .footer, .btn, .no-print { display: none !important; }
    body { background: white; }
    .success-details { box-shadow: none; border: 1px solid #ddd; }
}
