﻿/* =====================================================
   RESET ESTRUCTURAL
===================================================== */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

/* =====================================================
   HEADER
===================================================== */
#header {
    width: 100%;
}

    #header nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        height: 56px;
    }

    #header .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        #header .logo img {
            height: 60px !important;
            margin: 0 10px 0 10px !important;
        }

    #header .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: right;
    }

        #header .user-info strong {
            text-transform: uppercase;
        }

        #header .user-info a.button {
            background-color: #F4F6F9 !important;
            color: #0A3866 !important;
            text-decoration: none !important;
            transition: background-color 0.3s ease, color 0.3s ease !important;
        }

            #header .user-info a.button:hover {
                background-color: #4595D1 !important;
                color: #F4F6F9 !important;
            }

/* Mobile sidebar */
@media (max-width: 480px) {
    #header nav {
        padding: 0 5px;
    }

    #header .logo {
        gap: 0;
    }

    #header .user-info {
        gap: 5px;
    }

        #header h1,
        #header .user-info,
        #header .user-info * {
            color: #FFFFFF;
            font-size: 0.6rem !important;
        }
}

/* =========================================
   OVERLAY DIFUMINADO CUANDO MENU MOVIL ABIERTO
========================================= */

#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 998;
}

/* cuando sidebar está abierto */
#wrapper.toggled #sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

/* contenido pierde interacción */
#wrapper.toggled #page-content-wrapper {
    pointer-events: none;
}

/* en desktop no mostrar overlay */
@media (min-width: 769px) {
    #sidebar-overlay {
        display: none;
    }

    #wrapper.toggled #page-content-wrapper {
        pointer-events: auto;
    }
}

/* =====================================================
   TÍTULOS DE SECCIÓN
===================================================== */
.page-title {
    grid-column: 1 / -1;
    margin: 1.25rem 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}

    .page-title h2 {
        font-weight: bold;
        font-size: 1.25rem;
        color: #4595D1;
        margin: 0;
    }

    .page-title h4 {
        font-size: 1.8rem !important;
        font-weight: 600;
        color: #0A3866;
    }

.title-2 {
    color: #4595D1;
}

/* =====================================================
   BOTONES
===================================================== */
.btn, .button {
    border-radius: 6px !important;
    font-family: 'Archivo-Medium', sans-serif;
    font-size: 0.85rem !important;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary,
.primarybtn {
    padding: .25rem .35rem !important;
    margin-bottom: 0;
    color: #4595D1 !important;
    background-color: #fff !important;
    border: 1px solid #4595D1 !important;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    min-width: 7rem;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal; /* permite salto de línea */
}

    .btn-primary:hover,
    .primarybtn:hover {
        background-color: #4595D1 !important;
        color: #fff !important;
        border: 1px solid #4595D1 !important;
    }

.btn-secondary {
    padding: .25rem .35rem !important;
    margin-bottom: 0;
    color: #0A3866 !important;
    background-color: #fff !important;
    border: 1px solid #0A3866 !important;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    min-width: 7rem;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    font-weight: 500 !important;
}

    .btn-secondary:hover {
        background-color: #fff !important;
        color: #0A3866 !important;
        border: 1px solid #0A3866 !important;
    }

.btn-disabled,
.disabledbtn {
    padding: .25rem .35rem !important;
    border-radius: 6px !important;
    font-size: .85rem !important;
    margin-bottom: 0;
    color: #a6aeb7 !important;
    background-color: #FFFFFF;
    border: 1px solid #B9C5D1;
    text-decoration: none;
    text-align: center;
    min-width: 7rem;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    font-weight: 500 !important;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-icon img {
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

    .btn-icon:hover {
        background-color: rgba(13, 59, 102, 0.08);
    }

/* =====================================================
   DROP ZONE PREMIUM
===================================================== */

.modern-dropzone {
    border: 2px dashed #0A3866;
    border-radius: 14px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

    .modern-dropzone.dragover {
        background: #e6f0ff;
        border-color: #4595D1;
        transform: scale(1.02);
    }

    .modern-dropzone.uploading {
        border-color: #4595D1;
    }

    .modern-dropzone.error {
        border-color: #d9534f;
        background: #fff5f5;
    }

    .modern-dropzone.success {
        border-color: #28a745;
        background: #f0fff4;
    }

.dz-icon {
    font-size: 42px;
    color: #0A3866;
    margin-bottom: 12px;
}

.dz-text {
    font-weight: 600;
    color: #0A3866;
}

.dz-sub {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

.file-hidden {
    display: none;
}

/* Barra progreso */
.dz-progress-container {
    width: 100%;
    height: 6px;
    background: #e0e6ed;
    border-radius: 6px;
    margin-top: 20px;
    overflow: hidden;
}

.dz-progress-bar {
    width: 0%;
    height: 100%;
    background: #4595D1;
    transition: width 0.2s ease;
}

.dz-status {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Mobile premium */
@media (max-width: 768px) {
    .modern-dropzone {
        padding: 30px 15px;
    }

    .dz-icon {
        font-size: 32px;
    }
}
/* =====================================================
   FORMULARIOS
===================================================== */
.form-control {
    color: #8b9196 !important;
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
}

    .form-control.form-check.form-check-inline {
        padding-left: 0.2rem !important;
    }

.form-group {
    padding: 0.375rem 0.375rem !important;
    margin-bottom: 0.35rem !important;
    font-size: 0.85rem !important;
}

    .form-group .form-control {
        color: #495057 !important;
        background-color: #fff !important;
        border: 1px solid #ced4da !important;
        border-radius: 6px !important;
    }

    .form-group .form-control {
        color: #9b9b9b !important;
        font-size: 0.85rem !important;
    }

        .form-group .form-control .form-check-input {
            margin-top: 0 !important;
        }

.form-check-border {
    height: 3.5rem !important;
    padding: 0.375rem 0.75rem !important;
    color: #495057 !important;
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.5rem !important;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

    .form-grid .form-control,
    .form-grid select,
    .form-grid input[type="text"] {
        height: 30px;
    }

    .form-grid.search-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr auto;
        gap: 16px;
        align-items: start;
    }


.grid-span-2 {
    grid-column: span 2;
}

.grid-span-3 {
    grid-column: span 3;
}

.grid-span-4 {
    grid-column: span 4;
}

.buttons-grid {
    display: grid;
    grid-auto-flow: column;
    justify-content: end;
    gap: 16px;
    margin-top: 30px;
}


.form-control {
    width: 100%;
    height: 32px;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.company-logo {
    height: 55px;
}

.list-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 38px;
}

.list-radio {
    margin: 0;
}

.list-chk {
    margin: 0;
}

.list-option label {
    margin: 0;
    cursor: pointer;
}

.territory-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 38px;
}

.territory-radio {
    margin: 0;
}

#special {
    display: none;
}

#trailer,
#additional,
#trailer2,
#additional2 {
    display: none;
}

#trailer2,
#additional2 {
    flex-direction: column;
}

#territory,
#more-180-days {
    display: none;
}

.inline-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tow-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 12px;
    margin-top: 20px;
}

.broker-section {
    margin-top: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
}

.broker-fee {
    background: #b9c5d1ff;
    border: 1px solid #ced4da !important;
    border-radius: .1rem !important;
    padding-left: .85rem !important;
    color: #FFF !important;
    font-size: 1rem !important;
    padding: 2px;
    min-width: 100px;
}

    .broker-fee label {
        font-family: 'Archivo-Bold' !important;
    }

.rango-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.rango-group {
    display: flex;
    gap: 10px;
}

    .rango-group input {
        flex: 1;
    }

.preview-img {
    max-width: 160px;
    border-radius: 8px;
}

/* =====================================================
   WRAPPER Y SIDEBAR
===================================================== */
#wrapper {
    flex: 1;
    display: flex;
    width: 100%;
    overflow-x: hidden;
}

#sidebar-wrapper {
    width: 145px;
    height: calc(100vh - 56px);
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    transition: margin-left 0.3s ease, transform 0.3s ease;
    margin-left: 0; /* visible al cargar */
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: -145px; /* ocultar al hacer click */
}

#menu-toggle.button {
    min-height: 24px !important;
    min-width: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toggle-button {
    /* font-family: "Archivo-Regular"; */
    font-size: 0.85rem !important;
    cursor: pointer !important;
}

/* Mobile sidebar */
@media (max-width: 768px) {
    #sidebar-wrapper {
        position: fixed;
        top: 56px;
        left: 0;
        height: calc(100vh - 56px);
        z-index: 1050;
        margin-left: -140px; /* inicia oculto en móvil */
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
}

/* =====================================================
   CONTENIDO PRINCIPAL
===================================================== */
#page-content-wrapper {
    flex: 1;
    padding: 5px 15px 0 0;
    min-width: 0;
}

/* =========================
   SIDEBAR MEJORADO
========================= */

.quote-steps {
    background: #f4f6f8;
    padding: 5px 7px;
    border-radius: 12px;
    margin-top: 2.25em;
}

.form-sidebar {
    display: flex;
    gap: 10px;
    padding: 5px 10px;
    margin: 0.75rem 0;
    font-size: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .form-sidebar input[type="checkbox"] {
        width: 1.25rem;
        accent-color: #1f4c7a;
        margin: 0 0;
        padding: 0 0;
    }

.quote-steps-label {
    font-weight: 500;
    color: #0f2f55;
    margin-bottom: 0;
}

/* Paso activo (último checked) */
.form-sidebar input:checked + .quote-steps-label {
    font-weight: 600;
    color: #ffffff;
}

.form-sidebar:has(input:checked) {
    background: #1f4c7a;
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 992px) {

    .quote-steps {
        padding: 0 10px;
        min-height: auto;
        margin: 0;
    }

    .form-sidebar {
        justify-content: center;
        padding: 8px;
        font-size: 0.85rem;
    }
}

.previous-checked-step {
    background-color: slategrey !important;
    color: #fff !important;
}

.mobile-active-step {
    justify-content: center;
    background: #163e6d;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
}

input[type=checkbox], input[type=radio] {
    color: #0A3866;
    accent-color: currentcolor;
    cursor: pointer;
    padding: 0;
    margin-right: 0;
}

.sidebar-area {
    max-width: 190px;
    background: #f4f6f9;
}

.main-area {
    width: 100%;
}

.section-title {
    margin-bottom: 10px;
}

.errorText {
    color: red;
    font-weight: 500;
}
/* =====================================================
   CLAIMS PAGE - ASEGURADORAS GRID
===================================================== */
.claims-wrapper {
    padding: 10px 15px;
}

    .claims-wrapper .page-title h2 {
        font-weight: 600;
        color: #0A3866;
    }

    .claims-wrapper .title-2 {
        font-size: 1rem;
        font-weight: 500;
    }

.claims-header {
    margin-bottom: 20px;
}

    .claims-header h1 {
        font-size: 1.95rem;
        font-weight: 700;
        color: #4595D1;
        margin-bottom: 5px;
    }

    .claims-header p {
        font-size: 1rem;
        color: #6c757d;
        margin: 0;
    }

.claims-top-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    max-width: 80%;
    margin-bottom: 25px;
}

.claims-action-card {
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 0px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

    .claims-action-card.center {
        align-items: center !important;
    }

    .claims-action-card .button-secondary {
        min-width: 35%;
    }

    .claims-action-card h4 {
        font-size: 1.8rem;
        font-weight: 600;
        color: #0A3866;
        margin-bottom: 15px;
    }

/* =====================================================
   DOWNLOAD DOCUMENT PAGE STYLE
===================================================== */

.download-header h1 {
    font-size: 1.95rem;
    font-weight: 700;
    color: #4595D1;
    margin-bottom: 5px;
}

.download-header p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.download-form {
    display: grid;
    grid-template-columns: 120px .25fr;
    gap: 10px 15px;
    align-items: baseline;
    margin-bottom: 20px;
}

    .download-form label {
        font-weight: 600;
        color: #0A3866;
        font-size: 0.9rem;
    }

.download-button {
    grid-column: 1 / -1;
    text-align: end;
}

    .download-button .primarybtn {
        height: 36px;
        min-width: 180px;
    }

    .download-button .button-secondary {
        height: 36px;
        min-width: 180px;
    }

@media (max-width:768px) {
    .download-button {
        text-align: justify;
        grid-column: 1 !important;
    }

        .download-button .primarybtn {
            width: stretch !important;
        }

        .download-button .button-secondary {
            width: stretch !important;
        }
}

.claim-title-large {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0A3866;
    margin-top: 20px;
}

.claim-subtitle {
    color: #4595D1;
    font-weight: 600;
    font-size: 1rem;
}

.claim-info {
    font-size: 0.9rem;
    margin: 15px 0;
}

.claim-warning {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.documents-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

    .documents-container.catalog {
        grid-template-columns: 4fr 1fr !important;
        gap: 20px;
    }

    .documents-container .table {
        font-size: 0.9rem;
    }

    .documents-container .thead-light th {
        background-color: #cfd6df !important;
        color: #000;
    }

@media (max-width: 768px) {
    .download-form {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 10px;
    }

        .download-form label {
            margin-bottom: 0 !important;
            margin-left: .75rem !important;
        }

        .download-form .form-control {
            margin: 0 0 1rem 0 !important;
        }

    .claim-warning {
        grid-template-columns: 1fr;
    }

    .documents-container {
        grid-template-columns: 1fr;
    }
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 15px;
    max-width: 80%;
}

.insurance-item {
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: 0.2s ease;
    cursor: pointer;
}

    .insurance-item:hover {
        border-color: #4595D1;
        box-shadow: 0 3px 8px rgba(0,0,0,0.05);
        transform: translateY(-2px);
    }

    .insurance-item img {
        max-width: 70%;
    }

/* Responsive */
@media (max-width: 992px) {
    .claims-top-actions {
        grid-template-columns: repeat(5, 1fr);
    }

    .insurance-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .claims-top-actions {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .insurance-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

/* =====================================================
   FIX BULLETS INSIDE GRIDVIEW
===================================================== */

.table td li {
    margin: 5px 0 5px 18px !important;
    padding-left: 5px !important;
    line-height: 1.4;
}

.table td {
    vertical-align: top !important;
}

/* =====================================================
   ClaimReport FORM
===================================================== */

.claim_report-wrapper {
    padding: 10px 15px;
}

    /* Grid con label fijo + input flexible */
    .claim_report-wrapper .form-grid {
        grid-template-columns: 135px repeat(3, 1fr);
        gap: 18px 24px;
    }

    /* Elimina comportamiento anterior de 4 columnas */
    .claim_report-wrapper .grid-span-1 {
        grid-column: span 1;
    }

    /* Alineación vertical */
    .claim_report-wrapper .form-grid > div {
        align-self: center;
    }

    /* Inputs más altos como mockup */
    .claim_report-wrapper .form-control {
        height: 36px !important;
        font-size: 0.9rem;
    }

    /* Botones link debajo alineados */
    .claim_report-wrapper .btn-link {
        font-size: 0.85rem;
        padding-left: 0;
        border: none;
    }

/* Espacio superior sección upload */
#upDocuments {
    margin-top: 30px;
}

/* Botones finales alineados derecha */
.claim_report-wrapper .form-actions {
    margin-top: 15px;
    justify-content: flex-end;
}

/* ===============================
   PREMIUM BREAKDOWN STYLE
================================= */

.form-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    background: #fff;
    padding: 10px 5px;
}

/* Header azul superior */
.info-card {
    background: #0A3866;
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 10px 25px;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Card contenedora */
.card {
    background: #fff !important;
    background-color: #fff !important;
    border-radius: 0 0 10px 10px !important;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 5px;
    margin-top: 0;
}

    /* IMPORTANT text */
    .card p strong {
        font-weight: 700;
    }

/* ====== SECCIONES COMO OLD FORM ====== */

/* Caja gris clara */
.info-section {
    background-color: #f5f5f5;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    overflow: hidden;
}

    /* Tabla interna */
    .info-section table {
        width: 100%;
        border-collapse: collapse;
    }

    /* Header gris */
    .info-section th {
        background-color: #e3e7ec;
        text-align: left;
        padding: 10px;
        font-weight: 700;
        border-bottom: 1px solid #cfd6df;
    }

    /* Filas */
    .info-section td {
        padding: 8px 10px;
        border-bottom: 1px solid #d9dee5;
    }

        /* Primera columna (labels) */
        .info-section td:first-child {
            font-weight: 600;
            width: 45%;
        }

/* Botones secundarios */
.button-secondary {
    background-color: #f0f2f5;
    border: 1px solid #f0f2f5;
    color: #2d6ea3;
    padding: .25rem .35rem !important;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    min-width: 7rem;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
}

    .button-secondary:hover {
        background-color: #2d6ea3;
        color: #fff;
    }

/* Renewal radio alignment */
.form-control.form-check {
    border: 1px solid #d9dee5;
    border-radius: 6px;
    padding: 6px 10px;
}

/* Bottom buttons */
.buttons-absolute-container {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}


.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.button-outline {
    background: #fff;
    border: 1px solid #163e6d;
    color: #163e6d;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem !important;
}

/* Encabezados BASIC MEDIUM HIGH */
/*.plans-header {
    display: grid;
    grid-template-columns: .4725fr 1fr 1fr 1fr;
    font-weight: 600;
    color: #0A3866;
    margin-bottom: 5px;
    border-bottom: 1px solid #eceff2;
}

    .plans-header div {
        text-align: center;
    }*/

/* Filas */
/*.grid-row {
    display: grid;
    grid-template-columns: .4725fr 1fr 1fr 1fr;
    padding: 10px 0;
    border-bottom: 1px solid #eceff2;
    align-items: center;
}*/

/* Columna izquierda */
/*.row-title {
    font-weight: 500;
    color: #2a2a2a;
    text-align: right;
}*/

.plan-cell {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
}

    .plan-cell div {
        white-space: nowrap;
    }

    /* Valores secundarios (Premium) */
    .plan-cell .secondary {
        color: #4595D1;
        font-weight: 600;
    }

.selected-package {
    background-color: #d9edf7 !important;
    font-weight: 600;
}

/* Accordion */
.accordion-header {
    color: #4595D1;
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    padding: 5px 10px;
    font-size: 1.2em;
}

.accordion-body {
    background: #fff;
    padding: 5px 0;
}

/* Totales destacados */
.total-highlight {
    background: #cfd4da;
    font-weight: 600;
    color: #4595D1 !important;
}

/* Checks */
/*.grid-row span[style*="green"] {
    font-weight: 600;
}

.grid-row span[style*="red"] {
    font-weight: 600;
}*/

/* Botones */
/* .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
} */

.form-actions .button {
    background: #e1e5ea;
    color: #2a2a2a;
    border: 1px solid #e1e5ea;
}

    .form-actions .button:hover {
        background: #0a3866;
        color: #e1e5ea;
    }

.form-actions .primarybtn {
    background: #4595D1;
    color: #fff;
}

    .form-actions .primarybtn:hover {
        background: #fff;
        color: #4595D1;
        border: 1px solid #4595D1;
    }

.form-actions .button-secondary {
    border: 1px solid #4595D1;
    color: #4595D1;
    background: #fff;
}

    .form-actions .button-secondary:hover {
        border: 1px solid #4595D1;
        color: #fff;
        background: #4595D1;
    }

.notification-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #4f8fbd;
    padding: 10px;
    border-radius: 12px;
    color: #fff;
    max-width: 520px;
    min-width: max-content;
}

/* Icono */
.notification-icon {
    width: 60px;
    height: 60px;
    background-image: url('/vendor/1156949.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Contenido */
.notification-content {
    flex: 1;
}

    /* Título */
    .notification-content .text {
        font-weight: 600;
        margin-bottom: 5px;
        margin-right: 1.5rem;
    }

/* Caja blanca interna */
.notification-details {
    background: #fff;
    color: #000;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.85rem;
}

    .notification-details div {
        margin-bottom: 4px;
    }

/* Responsive */
@media (max-width: 992px) {

    .card {
        padding: 5px;
    }

    .form-grid-container {
        grid-template-columns: 1fr;
    }

    .sidebar-area, .main-area, #printableSection {
        display: grid;
        grid-template-columns: 1fr;
    }

    .search-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .form-grid.search-grid {
        grid-template-columns: 1fr;
    }

    /*.plans-header,
    .grid-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

        .plans-header div {
            text-align: left;
        }*/
}

/* =====================================================
   MENÚ
===================================================== */
.menu li ul {
    overflow: hidden; /* 🔥 clave para evitar que se encimen */
    display: none;
    transition: height 0.3s ease;
}

.menu ul {
    margin-left: -20px !important;
    list-style: disc !important;
}

.menu li.open ul {
    display: block;
    margin-left: -20px;
    list-style: disc;
}

.menu {
    width: 130px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    border-right: 1px solid #eceff2;
}

    .menu > li {
        /*font-family: "Archivo-Regular" ;*/
        font-size: 0.85rem !important;
        padding: 5px 0 0 10px;
        border-bottom: 1px solid #eceff2;
        cursor: pointer;
    }

        .menu > li:hover {
            color: #4595D1;
        }

    /*  .menu li.open > ul {
        height: auto;
        overflow: visible;
    }

    .menu ul {
        height: 0;
        margin-left: -20px;
        overflow: hidden;
        list-style: disc;
    }*/

    .menu ul li {
        /* font-family: "Archivo-Regular" !important; */
        font-size: 0.85rem !important;
    }

        .menu ul li a {
            color: #474747;
            margin-top: 5px;
            text-decoration: none;
        }

            .menu ul li a:hover {
                text-decoration: underline;
            }

.menu_icons {
    width: 10px;
    height: 15px;
    margin-right: 10px;
}

/* =====================================================
   TABLAS RESPONSIVAS
===================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

    .table-responsive table {
        width: 100%;
        min-width: 0;
        border-collapse: collapse;
        table-layout: auto;
        border-color: transparent !important;
    }

    .table-responsive th,
    .table-responsive td {
        padding: .45rem !important;
        white-space: normal !important;
        vertical-align: middle;
    }

.table-responsive {
    overflow-x: auto;
}

    .table-responsive table {
        min-width: 600px;
    }

/* .table-responsive tr:nth-child(even) {
    background-color: #f8f8f8;
} */

/* LIMITS GRID STYLE */
.grid-limits {
    table-layout: fixed;
    width: 100%;
}

    .grid-limits th {
        color: var(--primary);
        background-color: #fff !important;
        font-weight: 600;
        text-align: center;
        border-bottom: 1px solid #eceff2;
    }

    .grid-limits td {
        font-family: 'Archivo-Regular', 'Ranade-Regular';
        border-bottom: 1px solid #eceff2;
        vertical-align: middle;
    }

    .grid-limits td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal !important;
    }

    /* Primera columna ≈ 0.5fr */
    .grid-limits .first-col {
        width: 14%;
        max-width: 14%;
    }

    /* Otras 3 columnas ≈ 1fr cada una */
    .grid-limits th:not(.first-col),
    .grid-limits td:not(.first-col) {
        width: 28.66%;
    }

    .grid-limits td:first-child {
        text-align: right;
        font-weight: 500;
        color: #2a2a2a;
    }

    .grid-limits .plan-cell {
        display: flex;
        justify-content: space-evenly;
        gap: 10px;
    }

    .grid-limits .secondary {
        color: #4595D1;
        font-weight: 600;
    }


/* Responsive adjustments */
@media (max-width: 992px) {
    .table-responsive table {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    #page-content-wrapper {
        padding: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .grid-span-2 {
        grid-column: span 1;
    }

    .grid-span-3 {
        grid-column: span 1;
    }

    .grid-span-4 {
        grid-column: span 1;
    }

    .action-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

        .action-buttons .button {
            font-size: 0.85rem !important;
            padding: 8px;
        }

    .notification-container {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
    }

    .notification-icon {
        margin-bottom: 10px;
    }
}

/* =====================================================
   CLAIM REPORT MOBILE FIX
===================================================== */

@media (max-width:768px) {

    /* GRID MOBILE */
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

        .form-grid > div {
            display: flex;
            flex-direction: column;
        }

        /* Labels */
        .form-grid label {
            font-size: .9rem;
            margin-bottom: 2px;
        }

        /* Inputs */
        .form-grid .form-control,
        .form-grid select {
            width: 100%;
            height: 38px !important;
            font-size: .9rem !important;
            margin-bottom: .75rem !important;
        }

    /* Span grid resets */
    .grid-span-2,
    .grid-span-3,
    .grid-span-4 {
        grid-column: span 1 !important;
    }

    /* Botones help */
    .btn-link {
        font-size: .85rem;
        padding-left: 0;
    }

    /* Upload section */
    #upDocuments {
        margin-top: 25px;
    }

    /* Botones finales */
    .form-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

        .form-actions .primarybtn {
            width: 100%;
            height: 40px;
            font-size: .95rem;
        }

    /* Dropzone */
    .modern-dropzone {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    #page-content-wrapper {
        padding: 8px;
    }
}

/* =====================================================
   CLAIM REPORT BUTTONS ALIGNMENT
===================================================== */

.form-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Ajuste de tamaño */
/*.form-actions .primarybtn{
    min-width:180px;
    height:36px;
}
*/
/* Mobile */
@media (max-width:768px) {

    .form-actions {
        justify-content: space-between;
    }

        .form-actions .primarybtn {
            flex: 1;
            min-width: 140px;
        }
}

/* pagina dispositivos  */

#toastSuccess {
    position: fixed;
    top: 35px;
    left: 20px; /*  mostrar mensajes a la izquierda, toast */
    z-index: 50000 !important;
}

.form-separator {
    grid-column: 1 / -1;
    margin: 25px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d1d5db;
}

    .form-separator h2 {
        font-size: 0.85rem !important;
        font-weight: 600;
        color: #0a3866;
        margin: 0;
    }

#customToast {
    font-size: 0.75rem;
    font-weight: 600;
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 250px;
    padding: 15px 20px;
    background-color: #28a745;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 9999;
}

    #customToast.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    #customToast.success {
        background-color: #28a745;
    }

    #customToast.error {
        background-color: #dc3545;
    }

    #customToast.warning {
        background-color: #ffc107;
        color: black;
    }

    #customToast.info {
        background-color: #17a2b8;
    }


.file-hidden {
    display: none;
}

.upload-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.btn-camera {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px dashed #0A3866;
    background: #f8fafc;
    color: #0A3866;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

    .btn-camera:hover {
        background: #e0ecff;
    }

.preview-img {
    max-width: 160px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.btn-danger {
    background-color: var(--azul-principal);
    border-color: var(--azul-principal);
    color: #fff;
}

    .btn-danger:hover {
        background-color: var(--azul-oscuro);
        border-color: var(--azul-oscuro);
    }

/* fin pagina dispositivos  */

.progrid-column {
    text-align: center;
    vertical-align: middle;
}

.progrid-column-id,
.progrid-column-descripcion,
.progrid-column-activo,
.progrid-column-acciones {
    width: 150px;
}

.cc1-progrid tr:not(.pagination) td:first-child,
.cc1-progrid tr:not(.pagination) th:first-child {
    display: none;
}

.filter-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.75rem;
}

/* Estilos para paginación numerada */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    text-decoration: none;
    color: #111827;
}

    .pagination a:hover {
        background-color: #0a3866;
        color: #fff;
    }

.pagination .selected {
    background-color: #0a3866;
    color: #fff;
    font-weight: bold;
}

.table-container {
    margin-top: 20px;
}

    .table-container table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
    }

    .table-container th,
    .table-container td {
        border-bottom: 1px solid #b9c5d1;
        padding: 8px;
    }

    .table-container a:-webkit-any-link {
        text-decoration: none;
    }

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .search-bar input[type="text"] {
        flex: 1;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
        padding: 10px 14px;
        font-size: 0.85rem;
    }

.btn-icon {
    background-color: transparent;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-icon:hover {
        background-color: #f9fafb;
    }

    .btn-icon img {
        width: 18px;
        height: 18px;
    }

.oscuro {
    color: #000f1f;
    font-size: 0.75rem;
    /* font-family: "Archivo-Regular" !important; */
    font-weight: bold;
    background-color: #0a3866;
    line-height: 20px;
}

.medio {
    color: #000f1f;
    font-size: 0.65rem;
    /* font-family: "Ranade-Regular" !important; */
    background-color: #ffffff;
}

.claro {
    color: #000f1f;
    font-size: 0.65rem;
    /* font-family: "Ranade-Regular" !important; */
    background-color: #ffffff;
}

/* /// estilos para mostrar edicion encabezado 
 */
.info-header {
    background: #f1f5f9;
    border-left: 5px solid #0A3866;
    padding: 14px 18px;
    border-radius: 10px;
    margin: 15px 0 20px;
}

.info-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0A3866;
    margin-bottom: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* =====================================================
   FIX RESPONSIVE: BOTONES Y FILTROS SEARCH BAR
===================================================== */

@media (max-width: 768px) {
    .search-bar {
        flex-wrap: wrap;
        align-items: stretch;
    }

        .search-bar input[type="text"],
        .search-bar select {
            flex: 1 1 100%;
        }

        .search-bar .btn-icon {
            flex: 1 1 calc(50% - 5px);
            height: 38px;
        }
}

/* =====================================================
   FIX REAL PAGINACIÓN PROGRID (ASP.NET TABLE BASED)
===================================================== */

@media (max-width: 576px) {
    /* La fila de paginación */
    .cc1-progrid tr.pagination > td {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 6px !important;
    }

    /* Botones y números */
    .cc1-progrid tr.pagination a,
    .cc1-progrid tr.pagination span {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 0.75rem;
        line-height: 1;
    }
}

@media (max-width: 400px) {
    .cc1-progrid tr.pagination a,
    .cc1-progrid tr.pagination span {
        min-width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
}

/* =====================================================
   SEARCH BAR MOBILE-FIRST (FIX DEFINITIVO)
===================================================== */

.search-bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

    /* Input texto */
    .search-bar input[type="text"] {
        grid-column: 1 / -1;
        height: 44px;
        font-size: 0.85rem;
    }

    /* Select */
    .search-bar select {
        grid-column: 1 / -1;
        height: 44px;
        font-size: 0.85rem;
    }

    /* Botones */
    .search-bar input[type="submit"],
    .search-bar button {
        height: 40px;
        font-size: 0.85rem;
    }

/* Botón + */
#btnNuevo {
    font-size: 1.25rem;
    font-weight: bold;
    width: 44px;
}

/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 768px) {
    .search-bar {
        display: flex;
        flex-wrap: nowrap;
    }

        .search-bar input[type="text"] {
            flex: 1;
        }

        .search-bar select {
            width: 160px;
        }
}

/* =====================================================
   FIX BOTONES BUSCAR / +
===================================================== */

.search-bar input[type="submit"].filter-select,
.search-bar button.filter-select {
    background-color: #0A3866;
    color: #ffffff;
    border: 1px solid #0A3866;
    font-weight: 600;
}

    /* hover */
    .search-bar input[type="submit"].filter-select:hover,
    .search-bar button.filter-select:hover {
        background-color: #092a4a;
        border-color: #092a4a;
    }

/* Espacio debajo del textarea de Notas */
textarea#notas {
    margin-bottom: 20px; /* Ajusta el valor según necesites */
    padding: 10px; /* Para que el texto no quede pegado a los bordes */
}

/* Separación entre los botones */
button {
    margin-right: 10px; /* Espacio entre botones */
    padding: 8px 16px; /* Botones más cómodos */
}

/* Si quieres un contenedor para los botones */
.div-botones {
    margin-top: 10px; /* Espacio entre Notas y botones */
}

.disabled-action {
    opacity: 0.5;
    pointer-events: none; /* deshabilita clicks */
}

/*.inactivo-row {
    background-color: #f8d7da;*/ /* rojo suave */
/*color: #721c24;
}*/

.btn-danger {
    border: none;
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 8px;
    width: fit-content;
}

.search-bar .filter-select {
    flex: 0 0 150px;
}

/* =====================================================
   MODAL ESTILIZADA APP
===================================================== */
.grid-dispositivos {
    width: 100%;
    border-collapse: collapse;
}

    .grid-dispositivos th {
        background-color: #0A3866 !important;
        color: #fff;
        font-weight: 600;
    }

    .grid-dispositivos td {
        padding: 10px;
        border-bottom: 1px solid #d9d9d9;
    }

.modal-baja .modal-content {
    border-radius: 10px;
    border: 1px solid #dcdfe3;
}

.modal-baja .modal-header {
    background-color: #0A3866;
    border-bottom: 1px solid #0A3866;
}

    .modal-baja .modal-header .modal-title {
        color: #fff;
        font-size: 0.85rem;
    }

    .modal-baja .modal-header .btn-close {
        filter: invert(1); /* hace blanco el boton cerrar */
    }

.modal-baja .modal-footer {
    border-top: 1px solid #0A3866;
}

.modal-baja .btn-danger {
    background-color: #0A3866;
    border-color: #0A3866;
    color: #fff;
}

    .modal-baja .btn-danger:hover {
        background-color: #092a4a;
        border-color: #092a4a;
    }

.modal-baja .form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    background-color: #fff;
    color: #495057;
}

.modal-baja .upload-card .btn-camera {
    border: 1px dashed #0A3866;
    color: #0A3866;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.2s;
}

    .modal-baja .upload-card .btn-camera:hover {
        background-color: #e0ecff;
    }

.error-input {
    border-color: #d9534f !important;
}

.msg-error {
    color: #d9534f;
    font-size: 0.65rem;
    display: block;
    margin-top: 3px;
}

/* estilos para mensajes de error, centralizar y tamaño*/
.validation-msg {
    display: block;
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.2;
    white-space: normal;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* =====================================================
   CLAIM REPORT BUTTONS FINAL FIX
===================================================== */

.claim_report-wrapper .form-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    /* tamaño botones */
    .claim_report-wrapper .form-actions .primarybtn {
        height: 36px;
        min-width: 180px;
    }

/* Mobile */
@media (max-width:768px) {

    .claim_report-wrapper .form-actions {
        flex-direction: row !important;
        justify-content: space-between !important;
        margin: 0 !important;
    }

        .claim_report-wrapper .form-actions .primarybtn {
            flex: 1;
        }
}

/* Mensajes encima de botones */
.upload-messages {
    margin-top: 20px;
    margin-bottom: 8px;
    display: flex;
    gap: 4px;
    flex-direction: column;
    align-items: flex-end;
}

/* botones alineados */
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* mobile */
@media (max-width:768px) {
    .upload-messages {
        margin: 5 !important;
        gap: 0 !important;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .form-actions .primarybtn {
            width: 100%;
        }
}

/* ================================
   DUAL NOTES SELECTOR
================================ */

.notes-dual-container {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    gap: 10px;
    align-items: center;
}

/* panel */
.notes-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 10px;
}

/* header */
.notes-header {
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
}

/* grid */
.notes-grid {
    margin-bottom: 0;
}

/* botones */
.notes-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.notes-move-btn {
    width: 48px;
    height: 42px;
    border-radius: 8px;
    background: #4595D1;
    color: #fff;
    border: none;
    font-size: 18px;
    transition: .2s;
}

    .notes-move-btn:hover {
        background: #2c7fb8;
    }

/* responsive */
@media(max-width:768px) {

    .notes-dual-container {
        grid-template-columns: 1fr;
    }

    .notes-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.claims-wrapper.thankyou .claim-info strong {
    color: #0d3b66;
}

.claims-wrapper.thankyou {
    max-width: 700px;
    margin: auto;
}

/*================
    MARGEN CUADRADO DE GET QUOTE
================*/
.btn-outline-transparent-white {
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    border-radius: 1px !important;
    color: #ffffff !important;
}

    .btn-outline-transparent-white:hover,
    .btn-outline-transparent-white:focus {
        background-color: grey !important;
        border-color: #ffffff !important;
        color: #ffffff !important;
    }

form#formMexicard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================================
   TOURIST AUTO INSURANCE LANDING
================================ */

.tourist-title {
    color: #009965;
    font-size: 2rem;
    line-height: 1.1;
}

.tourist-subtitle {
    color: #009965;
    font-size: 0.75rem;
    margin-left: 5px;
}


.tourist-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #111111;
    margin-bottom: 6px;
}

.tourist-select {
    height: 34px !important;
    font-size: 0.85rem !important;
    border-radius: 5px !important;
}

.tourist-note {
    color: #009965;
    font-size: 0.75rem;
    line-height: 1.1;
}

.tourist-badge {
    width: 48px;
    height: auto;
}

.tourist-button {
    background-color: #003b79 !important;
    border: 1px solid #003b79 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    height: 36px;
}

    .tourist-button:hover,
    .tourist-button:focus {
        background-color: #002f61 !important;
        border-color: #002f61 !important;
        color: #ffffff !important;
    }

.tourist-main-image {
    width: 100%;
    max-width: 420px;
    max-height: 430px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .tourist-title {
        text-align: center;
        font-size: 1.7rem;
    }

    .tourist-subtitle {
        text-align: center;
        margin-left: 0;
        font-size: 0.7rem;
    }

    .tourist-form-box {
        max-width: 100%;
        padding: 22px 18px;
    }

    .tourist-main-image {
        max-height: 300px;
    }
}

/* ================================
   TOURIST AUTO INSURANCE MOBILE HERO
================================ */

.tourist-mobile-image-area {
    display: none;
}

@media (max-width: 1200px) {
    .delete-area {
        display: none !important;
    }
}


@media (max-width: 768px) { /* #Review */

    .tourist-section {
        padding-top: 1rem !important;
    }

    .tourist-mobile-hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px !important;
    }

    .tourist-title-area {
        flex: 1 1 55%;
        min-width: 0;
    }

    .tourist-title {
        font-size: 1.45rem !important;
        line-height: 1.05 !important;
        margin-bottom: 2px !important;
    }

    .tourist-subtitle {
        font-size: 0.62rem !important;
        line-height: 1.05 !important;
    }

    .tourist-mobile-image-area {
        display: block;
        flex: 1 1 45%;
        text-align: left;
    }

    .tourist-mobile-image {
        max-height: 145px;
        object-fit: contain;
    }

    .tourist-desktop-image-area {
        display: none !important;
    }

    .tourist-form-box {
        max-width: 100%;
        padding: 18px 16px;
    }
}

/* ================================
   PROGRAM INFORMATION BOX
================================ */

.program-info-section {
    background-color: #eef1f4;
    padding: 55px 45px;
    width: 100%;
}

.program-info-title {
    color: #4595d1;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

.program-info-content {
    max-width: 720px;
}

    .program-info-content h3 {
        color: #004b93;
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 14px;
    }

    .program-info-content p {
        color: #4f5f6f;
        font-size: 0.85rem;
        line-height: 1.35;
        margin-bottom: 20px;
    }

    .program-info-content strong {
        color: #111111;
        font-weight: 700;
    }

@media (max-width: 768px) {
    .program-info-section {
        padding: 35px 22px;
    }

    .program-info-title {
        font-size: 1.65rem;
        margin-bottom: 20px;
    }

    .program-info-content h3 {
        font-size: 1.05rem;
    }

    .program-info-content p {
        font-size: 0.8rem;
    }
}

/* =====================================
   STEP 2 - COVERAGE PLAN SECTION
===================================== */

.quote-step-section {
    max-width: 1140px;
}

.quote-step-indicator {
    line-height: 1.1;
}

.quote-step-small {
    font-size: 0.68rem;
    color: #4a79b8;
    font-weight: 600;
}

.quote-step-title {
    font-size: 0.82rem;
    color: #2b66b1;
    font-weight: 700;
}

.quote-step-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quote-dot {
    width: 10px;
    height: 10px;
    border: 1px solid #204f89;
    border-radius: 50%;
    display: inline-block;
    background-color: transparent;
}

    .quote-dot.active {
        background-color: #103f74;
    }

/* Header azul */
.coverage-plan-header {
    background-color: #003b79;
    padding: 14px 20px 10px;
}

.coverage-plan-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.coverage-plan-tabs {
    gap: 4px;
}

.plan-tab {
    min-width: 84px;
    padding: 5px 14px;
    border: 1px solid #4f8cc8;
    background-color: #0a4a8d;
    color: #7db3ea;
    font-size: 0.82rem;
    font-weight: 500;
    outline: none;
    box-shadow: none;
}

    .plan-tab:hover {
        color: #ffffff;
        background-color: #1661b2;
    }

    .plan-tab.active {
        background-color: #68b6f0;
        border-color: #68b6f0;
        color: #ffffff;
        font-weight: 700;
    }

/* Caja blanca */
.coverage-plan-box {
    background-color: #ffffff;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

.coverage-logo-row {
    border-bottom: 1px solid #e5e5e5;
}

.coverage-left-label-empty {
    background-color: #ffffff;
    min-height: 52px;
}

.coverage-logo-cell {
    padding: 14px 10px 10px;
    border-left: 1px solid #e8e8e8;
}

.coverage-logo {
    max-height: 34px;
    width: auto;
    object-fit: contain;
}

.chubb-logo {
    max-width: 130px;
}

.mapfre-logo {
    max-width: 120px;
}

/* Filas de datos */
.coverage-data-row {
    border-bottom: 1px solid #ececec;
}

.coverage-row-label {
    background-color: #f3f3f3;
    color: #4a4a4a;
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
}

.coverage-premium-label {
    color: #4e8fd3;
    font-weight: 700;
}

.coverage-value-cell,
.coverage-price-cell {
    padding: 12px 6px;
    text-align: center;
    font-size: 0.88rem;
    border-left: 1px solid #ececec;
    color: #3c3c3c;
    background-color: #ffffff;
}

.coverage-price-cell {
    color: #4a91d4;
    font-weight: 700;
}

    .coverage-value-cell.active,
    .coverage-price-cell.active {
        background-color: #ced4da;
        /*border: 2px solid #2b66b1;*/
        /*font-weight: 700;*/
    }

/* Responsive */
@media (max-width: 768px) {
    .coverage-plan-title {
        font-size: 1rem;
    }

    .plan-tab {
        min-width: 70px;
        font-size: 0.74rem;
        padding: 5px 8px;
    }

    .coverage-row-label {
        font-size: 0.72rem;
        padding: 10px 4px;
    }

    .coverage-value-cell,
    .coverage-price-cell {
        font-size: 0.72rem;
        padding: 10px 4px;
    }

    .coverage-logo {
        max-height: 24px;
    }
}

/* =====================================
   COVERAGE PLAN MOBILE LIST
===================================== */

.coverage-mobile {
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-top: none;
    padding: 12px;
}

.coverage-mobile-card {
    background-color: #ffffff;
    border: 1px solid #e1e5ea;
    margin-bottom: 14px;
}

    .coverage-mobile-card:last-child {
        margin-bottom: 0;
    }

.coverage-mobile-company {
    text-align: center;
    padding: 14px 10px;
    border-bottom: 1px solid #e1e5ea;
    background-color: #ffffff;
}

.coverage-mobile-logo {
    max-height: 34px;
    max-width: 140px;
    object-fit: contain;
}

.coverage-mobile-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid #ececec;
    background-color: #ffffff;
}

    .coverage-mobile-option:last-child {
        border-bottom: none;
    }

.coverage-mobile-days {
    color: #333333;
    font-size: 0.85rem;
    font-weight: 600;
}

.coverage-mobile-price {
    color: #4a91d4;
    font-size: 0.85rem;
    font-weight: 700;
}

.coverage-mobile-option.active {
    border: 2px solid #2b66b1;
    background-color: #f7f9fc;
    margin: 6px;
}

    .coverage-mobile-option.active .coverage-mobile-days,
    .coverage-mobile-option.active .coverage-mobile-price {
        font-weight: 800;
    }


/* division de paneles de coberturas */
.coverage-plans {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.coverage-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.quote-summary {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

/* esto es magia UX */
.sticky-top {
    top: 20px;
}

.coverage-header {
    color: white;
    padding: 15px;
    border-radius: 6px 6px 0 0;
}

.plan-tabs {
    margin-top: 10px;
}

.plan-tab {
    border: 1px solid #fff;
    background: transparent;
    color: white;
    margin-right: 5px;
    padding: 5px 15px;
}

    .plan-tab.active {
        background: #2a6fdb;
    }

/* COMPARADOR */
.coverage-comparator {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
}

    .coverage-comparator .active {
        border: 2px solid #2a6fdb;
        border-radius: 5px;
    }

/* TABLA */
.coverage-details {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
}

/* PANEL DERECHO */
.quote-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    position: sticky;
    top: 20px;
}

.box-left, .box-right {
    background-color: #0a3866;
    color: white;
    padding: 8px;
}

.box-left {
    border-right: 2px solid white;
}

.premium-breakdown .total {
    font-weight: bold;
    color: #2a6fdb;
}

.premium-breakdown .divider {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.summary-section {
    padding-left: 20px;
}

.summary-box {
    position: sticky;
    top: 20px;
    background: #fff;
    /*border-radius: 10px;*/
    padding: 20px;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
    font-size: 14px;
}

.coverage-container {
    width: 760px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #555;
    flex: 1;
    min-width: 0;
}

.coverage-header {
    padding: 8px 0;
}

.coverage-toggle {
    color: #3f6ea5;
    text-decoration: none;
    font-size: 15px;
}

.coverage-note {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
    color: #777;
    font-size: 13px;
}

.coverage-table {
    width: 100%;
    border-collapse: collapse;
}

    .coverage-table td {
        padding: 10px;
        border-bottom: 1px solid #ececec;
    }

        .coverage-table td:first-child {
            width: 20%;
        }

    .coverage-table .value {
        width: 30%;
        text-align: center;
        color: #555;
    }

    .coverage-table tr:hover {
        background: #fafafa;
    }



.blue_title {
    color: #4595d1;
    font-weight: bold;
}


/* ======== LOADER  ======== */

/* --- Fondo difuminado que bloquea la pantalla --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* --- Animación del círculo --- */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3; /* Color de fondo del anillo */
    border-top: 6px solid #0A3866; /* Color azul de tu diseño */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}