body {
    background: #f2f6fe;
    font-family: 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
    padding: 2rem 0;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 20, 50, 0.15);
    padding: 2rem 2rem 1.8rem;
}

.header-dark {
    background: linear-gradient(135deg, #0b1e3a, #1a3a6b);
    border-radius: 2rem;
    padding: 0.8rem 2rem 0.8rem 2.2rem;
    box-shadow: 0 12px 28px rgba(13, 67, 156, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-dark h2 {
    color: white;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-size: 1.8rem;
}

.header-dark h2 i {
    color: #fcd34d;
    filter: drop-shadow(0 2px 6px rgba(252, 211, 77, 0.2));
}

.btn-outline-light-soft {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 60px;
    padding: 0.45rem 1.5rem;
    font-weight: 500;
    transition: 0.2s;
}

.btn-outline-light-soft:hover {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-pdf-gold {
    background: #fcd34d;
    color: #0b1e3a;
    border: none;
    padding: 0.45rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(252, 211, 77, 0.25);
    transition: 0.15s;
}

.btn-pdf-gold:hover {
    background: #fbbf24;
    color: #0b1e3a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(252, 211, 77, 0.35);
}

/* table */
.table-compare {
    border-collapse: separate;
    border-spacing: 0 6px;
}

.table-compare thead th {
    background: #eaf0f8;
    border: none;
    padding: 0.8rem 0.6rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1f344c;
    border-radius: 16px 16px 0 0;
}

.table-compare tbody tr {
    background: white;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: 0.1s;
}

.table-compare tbody tr:hover {
    background: #fafcff;
    box-shadow: 0 4px 14px rgba(13, 67, 156, 0.05);
}

.table-compare td {
    border: none;
    padding: 0.6rem 0.4rem;
    vertical-align: middle;
    background: transparent;
}

.table-compare td:first-child {
    border-radius: 18px 0 0 18px;
    padding-left: 1rem;
}

.table-compare td:last-child {
    border-radius: 0 18px 18px 0;
    padding-right: 0.8rem;
}

.form-control-sm-custom {
    background: #f8fbff;
    border: 1px solid #e2eaf5;
    border-radius: 40px;
    padding: 0.3rem 0.8rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.12s;
}

.form-control-sm-custom:focus {
    background: white;
    border-color: #1a3a6b;
    box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.08);
}

.form-control-sm-custom.border-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.form-control-sm-custom.border-warning:focus {
    background: #fffdf5;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.badge-vs {
    font-weight: 600;
    padding: 0.15rem 0.8rem;
    border-radius: 40px;
    background: #f1f5f9;
    color: #1f344c;
    font-size: 0.8rem;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #b9c8dd;
    border-radius: 30px;
    padding: 0.2rem 0.5rem;
}

.remove-btn:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.06);
}

/* summary cards */
.summary-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 0.9rem 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 20, 40, 0.02);
}

.summary-card .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #5a6f89;
    font-weight: 600;
}

.summary-card .value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0b1e3a;
    letter-spacing: -0.5px;
}

.summary-card .value small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #5a6f89;
    margin-left: 4px;
}

.legend-pill {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 0.2rem 1.5rem;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1f344c;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.legend-pill i {
    color: #fbbf24;
}

/* modal */
.modal-glass {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2.5rem;
    box-shadow: 0 40px 80px rgba(0, 10, 30, 0.15);
}

.modal-header-glass {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1.6rem 2rem 0.6rem 2rem;
}

.modal-body-glass {
    padding: 1.2rem 2rem 2rem 2rem;
}

.form-control-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e2eaf5;
    border-radius: 60px;
    padding: 0.6rem 1.2rem;
}

.form-control-glass:focus {
    background: white;
    border-color: #1a3a6b;
    box-shadow: 0 0 0 4px rgba(26, 58, 107, 0.05);
}

.btn-primary-dark {
    background: #0b1e3a;
    border: none;
    border-radius: 60px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
}

.btn-primary-dark:hover {
    background: #1a3a6b;
    transform: scale(1.01);
    box-shadow: 0 12px 24px rgba(11, 30, 58, 0.15);
}

@media (max-width: 768px) {
    .glass-panel {
        padding: 1.2rem;
    }

    .header-dark {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.8rem;
        padding: 1.2rem 1.5rem;
    }

    .header-dark h2 {
        font-size: 1.4rem;
    }

    .summary-card .value {
        font-size: 1.4rem;
    }
}