@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+39&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;600&display=swap');
/* pagina error */

    .error-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
        padding: 2rem;
    }

    .error-card {
        background: #063552;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        padding: 3rem 2rem;
        text-align: center;
        max-width: 500px;
        width: 100%;
        animation: fadeInUp 0.5s ease-out;
    }

    .error-container .error-logo {
        margin-bottom: 2rem;
    }

    .error-container .error-logo img {
        max-width: 180px;
        height: auto;
    }

    .error-container .error-icon {
        margin-bottom: 1.5rem;
    }

    .error-container .error-icon img {
        width: 50px;
        height: 50px;
        animation: pulse 2s infinite;
    }

    .error-container .error-message-box {
        background: #FFF3E0;
        border-left: 4px solid #FF9800;
        padding: 1.5rem;
        border-radius: 12px;
        margin: 1.5rem 0;
    }

    .error-container .error-title {
        color: #FF6B00;
        font-size: 1.5rem;
        margin: 0 0 0.5rem 0;
        font-weight: bold;
    }

    .error-container .error-description {
        color: #666;
        font-size: 1rem;
        margin: 0;
        line-height: 1.5;
    }

    .error-container .error-details {
        margin-top: 1rem;
        padding: 0.75rem;
        background: #f5f5f5;
        border-radius: 8px;
        font-size: 0.85rem;
        color: #666;
    }

    .error-container .error-details code {
        background: #e0e0e0;
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        font-size: 0.8rem;
    }

    .error-container .error-actions {
        margin-top: 2rem;
    }

    .error-container .btn-contact {
        background: none;
        border: none;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .error-container .btn-contact:hover {
        transform: translateY(-2px);
    }

    .error-container .btn-contact img {
        max-width: 180px;
        height: auto;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .error-card {
            padding: 2rem 1.5rem;
        }

        .error-title {
            font-size: 1.2rem;
        }

        .error-description {
            font-size: 0.9rem;
        }

        .error-logo img {
            max-width: 140px;
        }

        .error-icon img {
            width: 60px;
            height: 60px;
        }
    } 
/* fin apagina error*/
/*pagina identificar*/ 
    .identificar-content {
        text-align: center;
        padding: 1rem;
    }

    .republic-logo {
        margin: 1rem 0;
    }

    .republic-logo img {
        max-width: 200px;
        height: auto;
    }

    .plate-display {
        position: relative;
        display: inline-block;
        margin: 1rem 0;
    }

    .plate-image {
        width: 250px;
        height: auto;
    }

    .plate-code {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        font-weight: bold;
        font-family: monospace;
        letter-spacing: 2px;
        color: #333;
    }

    .location {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 2rem;
        text-transform: uppercase;
    }

    .identify-title {
        color: #FFEA00;
        text-align: center;
        font-family: 'Roboto', sans-serif;
        font-size: 26px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px; /* 115.385% */
        letter-spacing: 0.02em;
    }

    .options-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto 2rem;
        margin-top: 1.5rem
    }

    .option-btn {
    background: #ffd700;
    color: #000000;
    padding: 0 !important;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px !important;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    } 

    .option-btn:hover {
        background: #d4b70f;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

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

    .option-icon {
        font-size: 1.2rem;
        min-width: 30px;
    }

    .scan-section {
        margin-top: 2rem;
    }

    .scan-text {
    color: #FFF !important;
    text-align: center;
    font-family: 'Roboto', sans-serif !important;
    font-size: 23px !important;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    
    margin-top: 30px; 
}

    .input-box {
        width: 90%;
        max-width: 300px;
        padding: 0.75rem;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        text-align: center;
        text-transform: uppercase;
        transition: border-color 0.3s ease;
    }

    .input-box:focus {
        outline: none;
        border-color: #4A90E2;
    }

    .ONvalidation {
        display: block;
        margin: 2rem auto;
        max-width: 150px;
        height: auto;
    }

    /* Estilos para el mensaje */
    .msj-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .msj {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        padding: 1.5rem;
        min-width: 280px;
        max-width: 90%;
        display: flex;
        align-items: center;
        gap: 1rem;
        animation: slideIn 0.3s ease-out;
    }

    .msj .icon {
        width: 32px;
        height: 32px;
        background: #dc3545;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .msj .icon:hover {
        background: #c82333;
        transform: scale(1.1);
    }

    .msj #textmsj {
        flex: 1;
        color: #333;
        font-size: 0.95rem;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .plate-image {
            width: 200px;
        }

        .plate-code {
            font-size: 1.2rem;
        }
  

        .republic-logo img {
            max-width: 150px;
        }
    } 


/* Button list container – wider to fit ball + text */
.options-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 360px;
    margin: 1rem auto 2rem;
    align-items: flex-start;
    padding: 0 8px;
}
 
/*
 * Each button: transparent background, flex row.
 * Left  → yellow ball with icon on top.
 * Right → white Roboto text per spec.
 */
.option-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 4px 0;
    cursor: pointer;
    width: 100%;
    transition: transform 0.15s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
 
.option-btn:hover {
    background: transparent;
    transform: translateX(5px);
    box-shadow: none;
    filter: brightness(1.08);
}
 
.option-btn:active {
    transform: translateX(3px) scale(0.97);
    filter: brightness(0.95);
}
 
/* ── Icon stack: ball + SVG icon centred on top ── */
.option-icon-wrapper {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}
 
/* The yellow radial-gradient ball (Vector.svg) */
.option-ball {
    width: 68px;
    height: 68px;
    display: block;
}
 
/* The symbol layer (Capa_2.svg) centred over the ball */
.option-icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;    /* ~83 % of 41 px ball → icon fills it nicely */
    height: 34px;
    pointer-events: none;
}
 
/* ── Text label (spec from design) ── */
.option-text {
    width: 250px;
    height: 68px;

    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px; /* 125% */

    text-align: left;
    display: flex;
    align-items: center;
}
 
/*
 * .volver no longer has a red background – it uses the same
 * transparent ball layout as the other buttons.
 * Override the old red rules.
 */
.volver {
    background: transparent;
    color: white;
}
 
.volver:hover {
    background: transparent;
    color: white;
}

/* Volver button inside white success/error card needs dark text */
.payment-success-card .volver,
.payment-error-card .volver {
    color: #0B5C8E;
    margin-top: 0.75rem;
    justify-content: center;
    font-size: 1.1rem;
}

.payment-success-card .volver:hover,
.payment-error-card .volver:hover {
    color: #073f63;
}
/* fin pagina identificar*/

.barcode {
    display: inline-block;
    background-color: #ffffff;
    padding: 10px 20px;
    font-family: 'Libre Barcode 39', cursive;
    font-size: 48px; /* Increased size slightly for better scan resolution */
    line-height: 1;
    color: #000; /* Pure black offers better contrast than #444 */
    
    /* Added space between characters will corrupt the barcode data. */
    letter-spacing: 0; 
    
    /* Ensure no clipping from parent containers */
    overflow: visible;

    /* Visually stretch the barcode font vertically */
    transform: scaleY(5.5);
    -webkit-transform: scaleY(5.5);
    transform-origin: center;

    /*white-space: nowrap;
    letter-spacing: 0.1em;
    line-height: 1;
    color: #444;*/
    
}
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/*home*/
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.relative{
    position: relative;
}
.btn-back{
    position: absolute;
    left: 10px;
    top: 12px;
    width: 50px;
    background: transparent;
    border: 0;
    border-radius: 100%;
    cursor: pointer;
    z-index: 9;
}  .btn-back img{
        border: 2px solid #ffd700;
    border-radius: 100%;
}

.btn-back-register{
    position: absolute;
    left: 1px;
    top: 1px;
    width: 50px;
    background: transparent;
    border: 0;
    border-radius: 100%;
    cursor: pointer;
    z-index: 9;
}  .btn-back-register img{
        border: 2px solid #ffd700;
    border-radius: 100%;
}
img{
    width: 100%;
}

.btn-back-error{
    position: absolute;
    left: 35px;
    top: 73px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    border-radius: 100%;
    cursor: pointer;
    z-index: 9;
} 

.btn-back-payment{
    position: absolute;
    left: 10px;
    top: 12px;
    width: 45px;
    background: transparent;
    border: 0;
    border-radius: 100%;
    cursor: pointer;
    z-index: 9;
} 

.btn-back-ticket{
    position: absolute;
    left: 30px;
    top: 12px;
    width: 45px;
    background: transparent;
    border: 0;
    border-radius: 100%;
    cursor: pointer;
    z-index: 9;

}

/* FONDO */
.app {
    min-height: 100vh;
    background: linear-gradient(to bottom, #03abe1 0%, #008dc9 50%,  #0B5C8E 100%);
    position: relative;
    overflow: hidden;
}

/* ONDAS */
.app::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -20%;
    width: 140%;
    height: 200px;
    background: #005fa6;
    border-radius: 50%;
    z-index: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.app::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -20%;
    width: 140%;
    height: 200px;
    background: linear-gradient(0deg, #005CA9 60.04%, #00B6ED 90.79%);
    border-radius: 50%;
    z-index: 0;
}

/* CONTENIDO */
.container {
    position: relative;
    z-index: 2;
    padding: 20px 15px 120px;
    text-align: center;
    color: white;
}

/* BOTÓN SUPERIOR */
.btn-top {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 25px;
    background: linear-gradient(to right, #6FD3FF, #2F8ECB);
    color: #FFD700;
    font-weight: bold;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.6),
                0 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 3px;
    margin-top: 30px
}

/* ICONO */
.scan-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 10px auto 5px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.scan-text {
    color: #AEE3FF;
    margin-top: 30px;
    font-size: 0.9rem;
}

/* ==========================================================================
   ESTILOS EXCLUSIVOS PARA EL ESCÁNER DE CÓDIGOS DE BARRAS
   ========================================================================== */

/* Contenedor principal del escáner */
.scanner {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    background: #fff;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

/* Elemento donde se muestra la cámara */
#camera-scanner {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #fff;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

#camera-scanner video {
    background: #fff;
}

/* Esquinas decorativas */
.corner {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 10px solid #ed1d24;
    border-radius: 0;
    z-index: 10;
}

.tl {
    top: 40px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 10px;
}

.tr {
    top: 40px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 10px;
}

.bl {
    bottom: 40px;
    left: 20px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 10px;
}

.br {
    bottom: 40px;
    right: 20px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 10px;
}

/* Línea de escaneo animada */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ed1d24, #ed1d24, transparent);
    animation: scan 2s linear infinite;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 10px #ed1d24;
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

/* Botón detener escaneo */
.btn-stop-scan {
    position: relative;
    bottom: 30px;
    left: 0; 
    right: 0;
    margin: auto;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    z-index: 1000;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: all 0.25s ease;
}

.btn-stop-scan:hover { 
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

 

.scan-icon:hover {
    transform: scale(1.05);
}

.IconEscanear {
    width: 100px;
    height: 100px;
    cursor: pointer;
}
 

/* Input del escáner */
.input-box {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    background: #ffffff;
}

.input-box:focus {
    outline: none;
    border-color: #fdc210;
    box-shadow: 0 0 0 3px rgba(253, 194, 16, 0.2);
}
 

.msj .icon {
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

#textmsj {
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .IconEscanear {
        width: 100px;
        height: 100px;
    }
    
    .corner {
        width: 25px;
        height: 25px;
        border-width: 2px;
    }
    
    .scan-line {
        height: 2px;
    }
    
    .input-box {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-stop-scan {
        bottom: 20px;
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .msj {
        bottom: 80px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .scanner {
        max-width: 100%;
        margin-top: 10px;
    }
    
    .corner {
        width: 20px;
        height: 20px;
    }
}

/* INPUT */
.input-box {
    display: block;
    width: 80%;
    max-width: 280px;
    margin: 12px auto;
    background: #fff;
    padding: 14px;
    border-radius: 6px;
    color: #999;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
}

/* PLACA */
.plate {
    display: block;
    max-width: 280px;
    height: auto;
    margin: 10px auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
} 

/* Contenedor para el input y el botón */
.input-with-btn {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin: 12px auto;
    gap: 8px;
}

.input-with-btn .input-box {
    margin: 0;    /* override the auto margin from .input-box */
    flex: 1;
    width: auto;  /* let flex control the width */
}

.btn-enter {
    display: block;
    margin: 8px auto;
    width: 150px;
    height: 38px;
    line-height: 36px;
    border-radius: 25px;
    border: 1.5px solid #EAA90C;
    background: #FBCB09;
    box-shadow: 0 1px 5px 0.5px rgba(0, 0, 0, 0.25),
                0 3px 1px 0.5px rgba(255, 255, 255, 0.45) inset,
                0 11px 8px -5px rgba(255, 255, 255, 0.25) inset,
                0 -2px 1px 0.5px rgba(0, 0, 0, 0.35) inset,
                0 -6px 8px -2.5px #EEAE0A inset;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.25);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-enter:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-enter:active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) inset,
                0 -1px 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.96);
    background: #E8B800;
}

/* BOTÓN INFERIOR */
.msj {
    position: fixed;
    bottom: 80px;
    left: 0;
    margin: auto;
    width: max-content;
    right: 0;
    background: linear-gradient(to right, #FFD94D, #FF9900);
    padding: 10px 18px;
    border-radius: 25px;
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9;
}

.msj .icon {
    width: 24px;
    height: 24px;
    background: black;
    color: yellow;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

/* BOTÓN ? */
.help {
    position: absolute;
    bottom: 25px;
    right: 60px;
    margin: auto;
    width: 34px;
    height: 33px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.help:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ONvalidation{
        display: block;
        margin: 10px auto;
        width: 165.18px;
        height: 51.37px;
        margin-top: 50px;
}

.scan-controls {
    position: relative;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.scan-controls .btn-stop-scan {
    position: static;
    bottom: auto;
    margin: 0;
}

/*Boton de subir imagen de ticket*/ 
.btn-upload-scan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fdc210;
    border-radius: 30px;
    cursor: pointer;
    font-size: 24px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.btn-upload-scan:active {
    transform: scale(0.95);
}

/* Make the upload image in scan controls smaller */
.upload-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.plate-label {
    color: #FFF !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 28px !important;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-align: center;
    margin-bottom: 8px;
    cursor: default;
}

.scan-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 12px auto 0;
    max-width: 400px;
}

.scan-option-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-num {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.scan-option-label {
    color: white;
    font-size: 1rem;
}

.scan-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 12px auto 0;
    max-width: 400px;
}

.scan-footer .btn-stop-scan {
    position: static;
    bottom: auto;
    margin: 0;
}

.btn-captura {
    display: inline-block;
    width: 120px;
    height: 30px;
    line-height: 26px;
    border-radius: 25px;
    border: 1.5px solid #EAA90C;
    background: #FBCB09;
    box-shadow: 0 1px 5px 0.5px rgba(0, 0, 0, 0.25),
                0 3px 1px 0.5px rgba(255, 255, 255, 0.45) inset,
                0 11px 8px -5px rgba(255, 255, 255, 0.25) inset,
                0 -2px 1px 0.5px rgba(0, 0, 0, 0.35) inset,
                0 -6px 8px -2.5px #EEAE0A inset;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.25);
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-captura:active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) inset,
                0 -1px 1px rgba(255, 255, 255, 0.1) inset,
                0 3px 6px -2px #EEAE0A inset;
    transform: scale(0.96);
    background: #E8B800;
}

.btn-volver {
    border: 2px solid white;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: bold;
}

.enfocando-text {
    position: absolute;
    /* Positioned near the top of the scanner container */
    top: 30px; 
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    /* Starts hidden, JS will show it */
    display: none; 
}

/*fin home*/

/*ticket*/

/* ── Outer content area ── */
.contenido {
    margin: 12px auto;
    max-width: 340px;           /* slightly narrower so SVG tabs have breathing room */
    animation: fadeInUp 0.5s ease-out;
}

/*
 * .ticket-wrapper
 * The SVG is the paper shape.  overflow: hidden clips the barcode's
 * scaleY transform so it never bleeds past the bottom notch.
 * padding: 10px 0 exposes the tab notches top and bottom.
 */
.ticket-wrapper {
    position: relative;
    background: url('/img/ticket.svg') center / 100% 100% no-repeat;
    padding: 10px 0;
    overflow: hidden;           /* ← clips barcode overflow */
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
    margin-top: 70px;
}

/* Transparent card — SVG off-white shows through */
.ticket-card {
    background: transparent;
    overflow: hidden;
    margin: 0 2px;
}

/* ── Body ─────────────────────────────────────────────────────────────────── */
.ticket-body {
    position: relative;
    padding: 14px 50px 22px;    /* more horizontal padding → content away from SVG edges */
    background: transparent;
}

/* ── Facility name – centred, black ── */
.ticket-facility-name {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #111;
    margin: 15px 0 12px;        /* extra top margin clears the back button fully */
    letter-spacing: 0.5px;
}

/* ── Ticket No (centred block) ── */
.ticket-row-center {
    text-align: center;
    padding: 6px 0 10px;
}

.ticket-row-center .label {
    display: block;
    font-weight: 700;
    color: #444;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ticket-no-value {
    display: block;
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 0.8px;
    word-break: break-all;
    font-weight: 500;
}

/* ── Data rows – no separator lines ── */
.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
}

.label {
    font-weight: 600;
    color: #444;
    font-size: 0.82rem;
}

.value {
    font-weight: 500;
    color: #222;
    font-size: 0.9rem;
}

/* ── Plate section ───────────────────────────────────────────────────────── */
.ticket-placa-section {
    text-align: center;
    margin: 14px 0 8px;
}

.fondoplaca-ticket {
    width: 70%;                 
    height: auto;
    display: block;
    margin: auto;
}

.fondoplaca-home {
    width: 80%;                
    height: 100%;
    display: block;
    margin: auto;
}

.fondoplaca-error {
    width: 198.19px;
    height: 97.74px;
    display: block;
    margin: auto;
    margin-top: 70px;
}

.placa-text {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.235px;
    width: 90%;
    text-transform: uppercase;
}

.placa-text-ticket {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.235px;
    width: 90%;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(255,255,255,0.95),
                 0 0 32px rgba(255,255,255,0.7),
                 0 2px 8px rgba(255,255,255,0.8),
                 0 0 2px #fff !important;
}

.placa-text-error {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.235px;
    width: 90%;
    text-transform: uppercase;
}

/* ── Barcode ─────────────────────────────────────────────────────────────── */
.ticket-code {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; 
    padding: 4px 0;
}

#ticket-barcode {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Entrance animation ──────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .contenido            { margin: 10px auto; }
    .ticket-back-btn      { left: 18px; top: 12px; }
    .ticket-facility-name { margin-top: 40px; font-size: 0.9rem; }
    .ticket-body          { padding: 12px 22px 18px; }
    .fondoplaca           { width: 72%; }
    .placa-text-ticket,
    .placa-text    { font-size: 32px; letter-spacing: 1px; }
}

/*fin ticket*/

/*pagos*/
/* Slider 1 - Estilos Mejorados */
.slider-container {
    animation: slideIn 0.4s ease-out;
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding-top: 50px;
}

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

.slider-header {
    margin-bottom: 28px;
    text-align: center;
}

.step-indicator {
    display: inline-block;
    background: linear-gradient(135deg, #1EA4D9, #0B5C8E);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.slider-header h3 {
    margin: 0 0 8px 0;
    color: #0B5C8E;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-description {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

/* Grid de 2 columnas - IMPORTANTE para que estén en la misma fila */
.form-grid {
    display: grid; 
    gap: 20px; 
}

.form-group {
    margin-bottom: 5px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.label-icon {
    font-size: 16px;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

/* Campos de entrada - MISMA FILA */
.cedula-group, .phone-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cedula-type, .phone-code {
    width: 80px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: #f8f9fa;
    transition: all 0.3s;
}

.cedula-group .form-control,
.phone-group .form-control {
    flex: 1;
    min-width: 0; /* Evita overflow */
}

.form-control {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
    width: 100%;
}

.bank-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.form-control:focus, .cedula-type:focus, .phone-code:focus, .bank-select:focus {
    outline: none;
    border-color: #1EA4D9;
    box-shadow: 0 0 0 3px rgba(30, 164, 217, 0.1);
}

/* Mensajes de error */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-icon {
    font-size: 12px;
}

/* Botón */
button{
    cursor: pointer;
}
.button-container {
    margin-top: 30px;
    text-align: center;
}

.btn-next { 
    color: transparent;
    background: transparent;
    border: none; 
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px; 
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px); 
}

.btn-next:disabled {
    background: transparent;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: .5;
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s;
}

.btn-next:hover:not(:disabled) .btn-arrow {
    transform: translateX(4px);
}
/* Estilos para campos inválidos */
.form-control.invalid,
.bank-select.invalid {
    border-color: #e74c3c !important;
    background-color: #fff5f5 !important;
}

/* Error general */
.general-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    color: #dc2626;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shake 0.3s ease;
}
.pin-instruction{
    color: #000;
}
.general-error .error-icon {
    font-size: 16px;
}
.btn-resend{
    background: #ffd700;
    border: 0;
    padding: 10px 20px;
    color: black;
    border-radius: 100px;
    margin-bottom: 10px;  
}
.btn-resend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(60%);
}
.pin-timer{
    color: #0b5c8e;
    font-size: 13px;
    margin: 20px 0;
    font-weight: bold;
}
.pin-inputs{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pin-digit{
width: 33px;
    height: 33px;
    text-align: center;
    border-radius: 5px;
    border: 2px solid #e0e0e0;
    margin: 3px;
    padding: 2px;
}
.button-group{
    display: flex;
    justify-content: center;
    align-items: center;
    
    margin-top: 25px;
}
.btn-next img{
 width: 100%;
     max-width: 170px;
}
.error-animation h2{
    color: red;
}
.success-animation h2{
    color: green;
}
.btn-retry{
        color: transparent;
    background: transparent;
    border: none; 
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px; 
}
/* Contenedor principal */
.payment-success-card {
    max-width: 400px;  
    border-radius: 32px; 
    text-align: center;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    transition: all 0.2s ease;
}

/* Encabezado */
.success-header {
    margin-bottom: 1rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: #e6f7ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper img {
    width: 40px;
    height: auto;
}

.success-header h2 {
    font-size: 1.30rem;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem;
    color: #1a2e3b;
    letter-spacing: -0.3px;
}

.success-header p {
    font-size: 0.8rem;
    color: #6b7a7f;
    margin: 0;
}

/* Detalles del pago */
.payment-details {
    background: #f9fafb;
    border-radius: 24px;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.50rem 0;
    border-bottom: 1px solid #edf0f2;
    font-size: 0.95rem;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: #5f6c72;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.detail-item .value {
    color: #1e2f3a;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace, 'SF Mono';
    background: #ffffffcc;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
}

.detail-item .value-reference {
    color: #1e2f3a;
    font-weight: 500;
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace, 'SF Mono';
    background: #ffffffcc;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
}

/* Monto destacado */
.detail-item.highlight .label,
.detail-item.highlight .value {
    font-weight: 700;
    color: #0b5e42;
}

.detail-item.highlight .value {
    background: #e0f2e9;
    font-size: 1rem;
}

/* Botón minimalista */
.action {
    margin-top: 0.5rem;
}

.btn-subtle {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s;
    opacity: 0.85;
}

.btn-subtle:hover {
    transform: scale(1.02);
    opacity: 1;
}

.btn-subtle img {
    max-width: 180px;
    height: auto;
}
 .accordion {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .accordion-item {
        border: none;
        background: white;
    }
    .accordion-header {
        margin: 0;
    }
    .accordion-button {
        background-color: #f8f9fa;
        color: #333;
        font-weight: 600;
        padding: 12px 20px;
        border: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .accordion-button:hover {
        background-color: #e9ecef;
    }
    .accordion-collapse {
        transition: all 0.3s ease;
    }
    .accordion-body {
        padding: 20px 0;
        background: white;
        border-top: 1px solid #dee2e6;
    }
    .payment-details {
        margin: 0;
    }

/* BOTÓN DÉBITO DIRECTO */
.plate.btn-debito {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    width: 219px;
    height: 58px;

}

.debito-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.debito-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.debito-icon {
    position: absolute;
    left: 10px; 
    width: 36px; 
    height: auto;
    z-index: 2;
}

.debito-text {
    position: relative;
    z-index: 2;
    margin-left: 65px; 

    color: #000;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 0.48px;
}
/* Tarjeta de error */
.payment-error-card {
    max-width: 400px;  
    border-radius: 32px; 
    text-align: center;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Icono de error */
.icon-wrapper.error {
    background: #fee7e7;
    width: 60px;
    height: 60px;
    margin: 0 auto ;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper.error img {
    width: 36px;
    height: auto;
}

/* Título */
.payment-error-card h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem;
    color: #b91c1c;
    letter-spacing: -0.3px;
}

/* Mensaje de error */
.error-message {
    background: #fef2f2;
    color: #991b1b;
    padding: 0.9rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0 0;
    line-height: 1.4;
    word-break: break-word;
    border: 1px solid #fecaca;
}

/* Botón de reintento */
.error-actions {
    margin-top: 1.75rem;
}

.btn-retry {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s;
    opacity: 0.85;
}

.btn-retry:hover {
    transform: scale(1.02);
    opacity: 1;
}

.btn-retry img {
    max-width: 160px;
    height: auto;
}
/*registro*/
/* Catálogo de vehículos - 2 columnas fijas en todos los dispositivos */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px 4px;
}

/* Scroll personalizado */
.catalog-grid::-webkit-scrollbar {
    width: 6px;
}

.catalog-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.catalog-grid::-webkit-scrollbar-thumb {
    background: #1EA4D9;
    border-radius: 10px;
}

.vehicle-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.vehicle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.vehicle-card.selected {
    border-color: #1EA4D9;
    background: linear-gradient(135deg, #e8f4f8, #ffffff);
    box-shadow: 0 4px 12px rgba(30, 164, 217, 0.2);
}
.carros{
    width: 150px;
    margin-bottom: 20px;
}
.vehicle-image {
    width: 100%;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-info {
    flex: 1;
    text-align: center;
}

.vehicle-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.vehicle-info p {
    margin: 0;
    font-size: 11px;
    color: #7f8c8d;
}

.vehicle-check {
    position: absolute;
    top: 8px;
    right: 8px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #1EA4D9;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

/* Vista previa del vehículo seleccionado */
.selected-vehicle-preview {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
}

.preview-image {
    width: 100%;
    height: 160px;
    margin: 0 auto 12px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-title h4 {
    margin: 0;
    color: #0B5C8E;
    font-size: 1.2rem;
}

/* Helper text */
.helper-text {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.5rem 0;
}
/* Estilos para los selects */
.form-control select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.form-control select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-info {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-cancel {
    flex: 1;
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-send {
    flex: 1;
    padding: 10px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-send:hover:not(:disabled) {
    background: #128C7E;
}

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

.spinner-border {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*menu*/
.menu-btn {
        position: fixed;
        top: 16px;
        right: 8px;
        width: 6.25px;
        height: 25px;
        padding: 8px;
        cursor: pointer;
        z-index: 1001;
        display: flex;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        background: transparent;
        border: none;
        box-sizing: content-box;
        align-items: center;
        justify-content: center;
    }

    .menu-btn img {
        width: auto;
        height: 36px;
    }

    .menu-btn .dots-active { display: none; transform:  scale(0.96); }
    .menu-btn .dots-default { display: block; }

    .menu-btn:active .dots-default,
    .menu-btn.open .dots-default { display: none; }

    .menu-btn:active .dots-active,
    .menu-btn.open .dots-active { display: block; }

    /* Menú lateral */
    .side-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1002;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .side-menu.open {
        right: 0;
    }

    /* Header del menú */
    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
        background: #083f61;
    }

    .menu-logo img {
        max-width: 120px;
        height: auto;
    }

    .menu-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #fff;
        transition: color 0.3s ease;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .menu-close:hover {
        color: #333;
        background: rgba(0,0,0,0.05);
    }

    /* Items del menú */
    .menu-items {
        flex: 1;
        padding: 20px 0;
    background: linear-gradient(to bottom, #0B5C8E 0%, #168FC2 50%, #1EA4D9 100%);
    }

    .menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        border-left: 3px solid transparent;
        position: relative;
    }.menu-item::after{
        content: '';
        position: absolute;
        bottom: 0;
        width: 85%;
        height: 1px;
        background: white;
        left: 0;
        right: 0;
        margin: auto;
    }

    .menu-item:hover {
        background: rgba(255, 255, 255, 0.15);
        border-left-color: #FFD700;
        padding-left: 24px;
        color: #fff;
    }

    /* Footer del menú */
    .menu-footer {
        padding: 20px;
        border-top: 1px solid #eee;
        text-align: center;
            background: #083f61;
            
    }
    .menu-footer span{
        color: rgb(179, 179, 179);
    }
    .menu-footer a{
        cursor: pointer;
    }
    .menu-version {
        font-size: 0.75rem;
        color: #999;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1001;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
/*fin menu*/
 
/* --- Facility Header --- */
.facility-name-header {
    position: absolute; 
    top: 15px; 
    left: 0;
    right: 0;
    z-index: 10; 
    
    color: #FFF;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.76px;
    text-transform: none;
    width: 100%;
    
    pointer-events: none; 
}

/* Responsive - mantiene 2 columnas en móvil también */
@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }

    .vehicle-card {
        padding: 10px;
    }
 

    .vehicle-info h4 {
        font-size: 12px;
    }

    .vehicle-info p {
        font-size: 10px;
    }

    .preview-image {
        width: 100px;
        height: 100px;
    }
}

/* Estilos para el campo de placa en mayúsculas */
.form-control[style*="text-transform: uppercase"] {
    text-transform: uppercase;
}
/*fin registro*/
/* Responsive */
@media (max-width: 480px) { 

    .error-message {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }
}
/* Responsive */
@media (max-width: 480px) { 

    .detail-item {
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .detail-item .value {
        word-break: break-word;
        text-align: right;
    }
}
.error-icon img{
        width: 56px;
}
.checkmark-circle img{
        width: 56px;
}
/* Loader Rojo Global */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(220, 38, 38, 0.3);
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

.loader-text {
    text-shadow: none !important;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.btn-print {
    display: block;
    margin: 0 auto;
    padding: 10px 24px;
    background: #0B5C8E;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-print:hover {
    background: #1EA4D9;
}

@media print {
    /* Hide everything except the receipt */
    body * { visibility: hidden; }
    #print-receipt, #print-receipt * { visibility: visible; }
    #print-receipt {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        background: white;
    }
    /* Hide the print button itself when printing */
    .btn-print { display: none; }
}
.button-row-single {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.button-row-single .btn-print {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button-row-single .btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.button-row-double {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.button-row-double .action {
    flex: 1;
    max-width: 200px;
}

.button-row-double .btn-subtle {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s;
}

.button-row-double .btn-subtle img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.button-row-double .btn-subtle:hover {
    transform: scale(1.05);
}

.button-row-double .option-btn.volver {
flex: 1;
    max-width: 100px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 3px;
}

.button-row-double .option-btn.volver:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
#print-receipt {
    background: white;
    /* padding: 16px; */
}
.version{
    color: #b1b1b1;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    bottom: 11px;
    z-index: 9;
    left: 0;
    right: 0;
    margin: auto;
}
/* ============================================================
   DATE RANGE PICKER - Estilo adaptado al sitio
   ============================================================ */

.date-range-wrapper {
    text-align: center;
    margin: 0px auto 0px auto;
    padding: 16px 20px 0px 20px; 
    border-radius: 16px;
    width: 92%;
    max-width: 380px;
    border: 1px solid rgba(11, 92, 142, 0.06);
}

.date-range-wrapper .range-title {
    font-size: 0.7rem;
    color: #0B5C8E;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.date-range-wrapper .range-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.date-range-wrapper .date-field {
    flex: 1;
    min-width: 100px;
}

.date-range-wrapper .date-label {
    display: block;
    font-size: 0.6rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.date-range-wrapper .date-input {
    width: 100%;
    padding: 8px 8px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    text-align: center;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    background: #f7fafc;
    color: #1e2f3a;
    transition: all 0.2s ease;
}

.date-range-wrapper .date-input:focus {
    outline: none;
    border-color: #1EA4D9;
    box-shadow: 0 0 0 3px rgba(30, 164, 217, 0.12);
    background: #ffffff;
}

.date-range-wrapper .date-input:hover {
    border-color: #b0c4d9;
}

.date-range-wrapper .range-arrow {
    font-weight: 700;
    color: #0B5C8E;
    font-size: 1rem;
    padding: 0 2px;
}

/* Efecto visual al pasar el mouse por el contenedor de fechas */
.date-range-wrapper.hover-effect {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 5px;
}

.date-range-wrapper.hover-effect:hover {
    background-color: #f8f9fa; /* Un gris muy clarito de fondo */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Una sombra suave */
    transform: translateY(-2px); /* Se "levanta" un poquito */
}

.date-input:hover {
    border-color: #007bff !important; /* El borde se pone azul al tocar el input */
}
/* Contenedor de controles superiores */
.top-controls {
    position: fixed;
    top: 20px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

/* Botones de control redondos */
.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    font-size: 20px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn .icon {
    line-height: 1;
}

.control-btn .badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    padding: 2px;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Menús desplegables */
.dropdown-menu {
    position: fixed;
    top: 63px;
    right: 16px;
    min-width: 200px;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    animation: slideDown 0.2s ease;
}
.parking-country{
    font-size: 10px;
}
.language-dropdown {
    right: 70px;
}

 

.dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-item .flag {
    font-size: 10px;
}

.dropdown-item .icon {
    font-size: 18px;
}

.dropdown-item .label {
    flex: 1;
    font-weight: 500;
    color: white;
}

.dropdown-item .check {
    color: #4CAF50;
    font-weight: bold;
}
 

/* Animación de los dropdowns */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ajustes responsive */
@media (max-width: 768px) { 
.btn-top { 
    margin-top: 45px;
}
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
 

    .control-btn .badge {
        font-size: 10px;
        min-width: 18px;
        min-height: 18px;
    }

    .dropdown-menu {
        min-width: 180px;
        right: 8px;
        top: 63px;
    }

    .language-dropdown {
        right: 62px;
    }

     

    .dropdown-item {
        padding: 12px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) { 

    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    } 

    .control-btn .badge {
        font-size: 9px;
        min-width: 16px;
        min-height: 16px;
    }

    .dropdown-menu {
        min-width: 160px;
        top: 55px;
        right: 4px;
        padding: 6px 0;
    }

    .language-dropdown {
        right: 54px;
    }
 

    .dropdown-item {
        padding: 10px 14px;
        font-size: 14px;
        gap: 10px;
    }
}

/* Si el menú lateral está abierto, los botones aún deben ser visibles */
.side-menu.open ~ .top-controls .control-btn,
.side-menu.open ~ .top-controls .menu-btn {
    z-index: 1001;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
    .date-range-wrapper {
        padding: 12px 14px;
        width: 95%;
    }

    .date-range-wrapper .date-field {
        min-width: 80px;
    }

    .date-range-wrapper .date-input {
        padding: 6px 6px;
        font-size: 0.7rem;
    }

    .date-range-wrapper .range-title {
        font-size: 0.65rem;
    }

    .date-range-wrapper .range-arrow {
        font-size: 0.85rem;
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Responsive para móviles */
@media (max-width: 640px) { 
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
      
    
    .slider-header h3 {
        font-size: 1.3rem;
    }
    
    .btn-next {
        width: 100%;
        justify-content: center;
    }
}
/*fin pagos*/
 /* ============================================
   MODAL DE ESTACIONAMIENTOS
   ============================================ */
.parking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;  
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.25s ease;
}

.parking-modal {
    width: 100%;
    max-width: 412px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── HEADER ── */
.parking-modal-header {
    background-color: #004b87;
    color: #ffffff;
    padding: 16px 16px 12px 16px;
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.header-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.menu-dots {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.menu-dots span {
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
}

.header-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 14px;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.header-bottom:hover .country-name {
    opacity: 0.8;
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    margin-right: 14px;
}

.country-name {
    font-size: 22px;
    font-weight: 300;
    transition: opacity 0.2s ease;
}

.availables-count {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.location-circle-icon {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-circle-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.yellow-dot {
    width: 32px;
    height: 32px;
    background-color: #d1c24a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================================
   POPUP DE FILTRO DE PAÍSES
   ============================================ */
.country-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.country-filter-popup {
    background-color: #ffffff;
    width: 340px;
    max-width: 90%;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    animation: slideUp 0.25s ease;
}

.filter-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-left: 4px;
}

.location-icon {
    width: 28px;
    height: 28px;
    color: #1a1a1a;
    flex-shrink: 0;
}

.filter-popup-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.filter-popup-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.country-btn {
    background-color: #004b87;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
    text-align: center;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.country-btn:hover {
    background-color: #023966;
}

.country-btn:active {
    transform: scale(0.98);
}

.country-btn.active {
    background-color: #023966;
}

.filter-check {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
    .country-filter-popup {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .filter-popup-header h2 {
        font-size: 19px;
    }

    .country-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* ── GRID DE TARJETAS ── */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
    background-color: #fdfdfd;
    max-height: 55vh;
    overflow-y: auto;
    margin-top: 0;
}

.grid-container::-webkit-scrollbar {
    width: 4px;
}

.grid-container::-webkit-scrollbar-track {
    background: #f1f3f5;
}

.grid-container::-webkit-scrollbar-thumb {
    background: #004b87;
    border-radius: 4px;
}

.card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1.15;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card.selected {
    outline: 3px solid #004b87;
    outline-offset: -3px;
}

.card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #004b87;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.45);
    color: #dbdbdb;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 2;
} 
.parking-btn{
    position: absolute;
    bottom: 35px;
    z-index: 9;
    left: 0;
    right: 0;
    margin: auto;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.parking-btn img{ 
    width: 30px; 
}
.home{
    position: absolute;
    bottom: 25px;
    left: 60px;
    margin: auto;
    width: 42px;
    height: 33px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 10px;
    z-index: 2;
}

.card-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.card-title.yellow-text {
    color: #e2cb65;
}

.card-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 6px 0;
}

.card-subtitle {
    font-size: 9.5px;
    color: #cdcdcd;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) { 
.grid-container { 
    max-height: 80vh; 
}
 .side-menu.open {
        left: 0;
        right: unset;
    }
.parking-modal-overlay{
        align-items: initial;
}
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn .badge {
        font-size: 9px;
        min-width: 18px;
        min-height: 18px;
    }

    .dropdown-menu {
        min-width: 180px;
        right: 8px;
        top: 60px;
    }

    .language-dropdown {
        right: 62px;
    }

    .side-menu {
        width: 280px;
        left: -300px;
    }

    .parking-modal {
        width: 95%;
        max-height: 100vh;
        border-radius: 16px;
    }

    .grid-container {
        gap: 8px;
        padding: 10px;
    }

    .card-title {
        font-size: 12px;
    }

    .country-name {
        font-size: 18px;
    }
}

@media (max-width: 480px) { 

    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .menu-btn {
        width: 36px;
        height: 36px;
    }

    .control-btn .badge {
        font-size: 8px;
        min-width: 16px;
        min-height: 16px;
    }

    .dropdown-menu {
        min-width: 160px;
        top: 52px;
        right: 4px;
        padding: 6px 0;
    }

    .language-dropdown {
        right: 54px;
    }

    .dropdown-item {
        padding: 10px 14px;
        font-size: 14px;
        gap: 10px;
    }

    .side-menu {
        width: 260px;
        left: -280px;
    }

    .header-title {
        font-size: 18px;
    }

    .country-name {
        font-size: 16px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 8px;
    }

    .card-title {
        font-size: 11px;
    }

    .badge {
        font-size: 9px;
        padding: 2px 8px;
    }

    .card-content {
        padding: 8px 8px;
    }

    .card-subtitle {
        font-size: 8px;
    }

    .filter-popup-title {
        font-size: 13px;
    }

    .filter-option {
        padding: 8px 14px;
        font-size: 13px;
    }
}