@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    /* Fondos y Bases Oscuras */
    --color04: #232b1f;
    --color06: #121614; /* Fondo tirando a verde extremadamente oscuro */
    --color08: #1a221d;
    --color10: #090d14; /* Negro profundo del fondo del cartel */
    --color12: #0f1622; /* Azul noche oscuro (sombras y contornos base) */
    --color14: #1a2436; /* Azul grisáceo oscuro (matices del fondo urbano) */
    --color16: #0d1b2a;

    /* Gama de Celestes y Azules Eléctricos (Detalles del agua, burbujas y letras) */
    --color20: #0096c7; /* Azul Francia/Cian intenso (sombras de las letras y salpicaduras) */
    --color22: #3a86ff; /* Azul eléctrico vibrante (destellos del agua) */
    --color24: #48cae4; /* Celeste vivo (cuerpo principal de las letras y burbujas) */
    --color26: #90e0ef; /* Celeste claro/pastoso (luces en el agua y volumen de letras) */
    --color28: #caf0f8; /* Celeste blanquecino (brillos intensos y espuma最高 y textos) */

    /* Gama Verde Agua y Tonos Neón (El toque distintivo de Lavadero JES) */
    --color30: #00f5d4; /* Verde agua neón / Turquesa brillante (bordes iluminados y grafitis) */
    --color32: #00bbf9; /* Cian aguamarina equilibrado (transición entre celeste y verde agua) */
    --color34: #70e000; /* Verde lima/agua ácido (los detalles más encendidos del fondo y goteos) */
    --color36: #38b000; /* Verde medio (sombras de los grafitis neón) */
    --color38: #205040; /* Verde agua apagado / Musgo oscuro (sombras internas de la máscara) */

    /* Grises y Metalizados (Estructura de la máscara, llantas y partes del auto) */
    --color40: #2b2d42; /* Gris grafito oscuro (carrocería del auto y base de la máscara) */
    --color42: #8d99ae; /* Gris metálico/plata (reflejos en llantas y ópticas) */

    /* Destacados, Textos Secundarios y Luces Absolutas */
    --color50: #ccff00; /* Amarillo flúor / Lima puro (para el "Siempre con fe" y trazos rebeldes) */
    --color52: #ffffff; /* Blanco puro (centros de brillos, espuma y textos limpios) */
    --color54: #000000; /* Negro absoluto (para contornos y detalles más oscuros) */
    --color56: #e0fa7a; /* Amarillo suave (para resaltados y elementos decorativos) */
}

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    /* font-family: "Montserrat", Arial, Helvetica, sans-serif; */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* html {
    scroll-behavior: smooth;
} */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: 100px;
    background: var(--color16);
    transition: 0.5s;
    z-index: 100;
}

/* Muy importante para el efecto de animación */
/* nav a span { display: inline-block; } */

nav.abajo {
    background-color: rgb(13, 27, 42, 0.9);
    box-shadow: 0 0 20px var(--color72);
    transition: 0.5s;
}

#check {
    display: none;
}

.checkbtn {
    font-size: 34px;
    color: var(--color22);
    /* esto hace que el icono quede a la derecha */
    float: right;
    cursor: pointer;
    display: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo .enlace img {
    height: 44px;
    width: 44px;
    border-radius: 10%;
    animation: animation-logo 10s ease-in-out infinite;
}

@keyframes animation-logo {
    0% {
        transform: rotateY(0);
    }

    20% {
        transform: rotateY(180deg);
    }

    60%,
    100% {
        transform: rotateY(0);
    }
}

.logo {
    gap: 10px;
}

.logo a img {
    width: 50px;
    height: 50px;
}

.names {
    display: flex;
    flex-direction: column;
}

.main-name {
    color: var(--color52);
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.5s;
}

.main-name:hover {
    color: var(--color34);
    /* text-shadow: 1px 1px var(--color30); */
    transition: 0.5s;
}

.main-name b {
    color: var(--color34);
    transition: 0.5s;
}

.main-namesito {
    margin-top: 4px;
    color: var(--color52);
    font-size: 0.80rem;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul li {
    padding: 6px;
}

nav ul li a {
    position: relative;
    display: inline-block;
    padding: 6px;
    color: var(--color22);
    font-weight: 600;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--color24);
}

/* nav.abajo ul li a {
    color: var(--color30);
} */

nav.abajo ul li a:hover {
    color: var(--color52);
}

li a:after {
    content: "";
    position: absolute;
    background-color: var(--color24);
    height: 4px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

li a:hover:after {
    width: 100%;
}

li a:focus {
    color: var(--color20);
}

.nav-redes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nav-redes a {
    display: block;
    width: clamp(20px, 7vw, 40px);
    height: clamp(20px, 7vw, 40px);
    transition: transform 0.3s;
}

.nav-redes a:hover {
    transform: scale(0.9);
}

.nav-redes img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

nav.abajo .checkbtn {
    color: var(--color22);
}




/* ***************************** */
/* ****** Luego del Navbar ***** */
/* ***************************** */
[hidden] { 
    display: none !important; 
}


body {
    margin: 80px 0 0;
    min-height: 100vh;
    padding: 28px 18px;
    color: #fff;
    background: var(--color14);
    /* font: 16px/1.5 Inter, "Segoe UI", Arial, sans-serif; */

}

main {
    /* border: 1px solid red; */
    max-width: min(100%, 90vw); 
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

#login {
    max-width: 430px; 
    margin: min(12vh, 110px) auto; 
    padding: 28px; border: 1px solid #205040; 
    border-radius: 14px; 
    background: #0f1622;
}

#login form {
    display: grid;
}

label {
    display: grid; 
    gap: 5px; 
    font-weight: 600;
}

input {
    min-width: 180px;
    padding: 11px 12px;
    color: #fff;
    background: #121614;
    border: 1px solid #8d99ae;
    border-radius: 7px; 
    font: inherit;
}

button {
    padding: clamp(7px, 0.8vw, 10px) clamp(10px, 1.2vw, 16px); 
    color: #090d14; 
    background: #ccff00; 
    border: 0; 
    border-radius: 7px; 
    font-size: clamp(0.82rem, 1vw, 1rem); 
    font-weight: 700; 
    cursor: pointer;
}

button:hover {
    background: #e0fa7a;
}

button:disabled {
    opacity: .55; 
    cursor: wait;
}

h1 {
    margin: 8px 0; 
    color: #ccff00; 
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.intro {
    color: #d1d9e0; 
    max-width: 42ch;
}

h2 {
    margin: 34px 0 12px; 
    color: #90e0ef;
}

.back {
    color: #48cae4; 
    text-decoration: none;
}

.back:hover {
    color: #fff; 
    text-decoration: underline;
}

form, .filters {
    display: flex; 
    align-items: end; 
    flex-wrap: wrap; 
    gap: 12px;
}

button.secondary {
    color: #fff; 
    background: #1a2436; 
    border: 1px solid #48cae4;
    padding: 8px 10px;
}

button.secondary:hover {
    background: #205040;
}

input#desde, input#hasta {
    padding: 8px;
}

#filtro-kiosco {
    min-width: 190px;
    padding: 8px;
    color: #fff;
    background: #121614;
    border: 1px solid #8d99ae;
    border-radius: 7px;
    font: inherit;
}

.kiosco-cuenta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0;
    padding: 12px;
    border: 1px solid #2b2d42;
    border-radius: 8px;
    background: #0f1622;
}

.kiosco-cuenta strong {
    flex: 1;
    min-width: 180px;
}

.kiosco-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

#kiosco-panel .intro {
    margin: 10px 0;
}

.top {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 16px;
}

#panel {
    width: 100%;
    min-width: 0;
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 16px; 
    border: 1px solid #2b2d42; 
    border-radius: 10px; 
    background: #0f1622;
}

table {
    width: 100%; 
    min-width: 1180px;
    border-collapse: collapse;
}

th, td {
    padding: clamp(7px, 0.8vw, 8px) clamp(9px, 1vw, 10px);
    border-bottom: 1px solid #2b2d42;
    font-size: clamp(0.8rem, 0.9vw, 1.1rem); 
    text-align: left;
}

th {
    color: #90e0ef;
}

tr:last-child td {
    border-bottom: 0;
}

.turno-acciones {
    white-space: nowrap;
}

.turno-acciones button {
    padding: 5px 9px; 
    font-size: clamp(0.72rem, 0.8vw, 0.82rem);
}

.turno-acciones button + button {
    margin-left: 5px;
}

tr.cancelado {
    opacity: 0.5;
    text-decoration: line-through;
}

tr.realizado {
    opacity: .75;
}

#resumen-turnos {
    color: #ccff00; 
    font-weight: 700;
}

.texto-de-precios {
    margin: 4px 0 12px;
}

#precios-lista {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 12px; 
    width: 100%; 
    margin-bottom: 14px;
}

#precios-lista label {
    color: var(--color36)
}

#precios-estado {
    min-height: 1.5em; 
    color: #90e0ef;
}

.message {
    margin: 10px 0; 
    padding: 14px; 
    border: 1px solid #2b2d42; 
    border-radius: 10px; 
    background: #0f1622; 
    overflow-wrap: anywhere;
}

.message small {
    color: #8d99ae;
}

.message p {
    white-space: pre-wrap;
}

.error {
    min-height: 1.5em; 
    color: #ff9c9c; 
    font-weight: 600;
}

dialog {
    width: min(92vw, 440px); 
    padding: 24px; 
    color: #fff; 
    background: #0f1622; 
    border: 1px solid #48cae4; 
    border-radius: 12px;
}

dialog::backdrop {
    background: rgb(0 0 0 / 65%);
}

dialog h2 {
    margin-top: 0; 
    font-size: clamp(1.2rem, 4vw, 1.5rem);
}

dialog form {
    display: grid; 
    gap: 12px;
}

dialog input {
    width: 100%;
}

.dialog-actions {
    display: flex; 
    justify-content: flex-end; 
    flex-wrap: wrap; 
    gap: 8px;
}

:focus-visible {
    outline: 3px solid #48cae4; 
    outline-offset: 3px;
}



/**************************************/
/* ***** Media Query con 1090px ***** */
@media (max-width: 1090px) {
    .navbar {
        justify-content: space-evenly;
        gap: 12px;
    }

    .navbar .logo {
        order: 1;
        min-width: 0;
    }

    .navbar .nav-redes {
        order: 2;
        flex-shrink: 0;
        margin: 0;
    }

    .logo .enlace img {
        height: 50px;
        width: 50px;
    }

    .main-name {
        font-size: 1.3rem;
    }

    .main-namesito {
        font-size: 0.74rem;
    }

    .checkbtn {
        display: block;
        position: static;
        order: 3;
        flex-shrink: 0;
        z-index: 110; 
    }

    .navbar ul {
        position: fixed;
        width: 100%;
        height: calc(100vh - 100px);
        background: rgb(29, 52, 86, 0.8);
        top: 100px;
        left: 0;
        margin: 0;
        text-align: center;
        transform: translateY(calc(-100% - 100px));
        transition: transform 0.5s ease;
        overflow-y: auto;
        display: block;
    }

    .navbar ul li {
        display: block;
        margin: 20px 0;
        line-height: 20px;
    }

    .navbar ul li a {
        font-size: 20px;
    }

    li a:hover,
    li a.active {
        background: none;
    }

    #check:checked ~ ul {
        transform: translateY(0);
    }
}



/*************************************/
/* ***** Media Query con 516px ***** */
/*************************************/
@media (max-width: 516px) {
    .box-footer {
        min-width: 120px;
        margin-inline: 12px;
    }

    .title-box {
        font-size: 16px;
    }

    .box-footer p,
    .box-footer a {
        font-size: 14px;
    }
}

/* *********************************/
/* **** Media Query con 560px **** */
/***********************************/
@media (max-width: 560px) {
    body {
        padding: 18px 12px;
    }

    #login {
        margin: 8vh auto; padding: 22px;
    }

    h2 {
        font-size: clamp(1.15rem, 4.5vw, 1.4rem);
    }

    .filters {
        align-items: stretch;
    }

    .filters input,
    .filters select {
        flex: 1; 
        min-width: 150px;
    }
    
    table {
        min-width: 820px;
    }

    th, td {
        padding: 7px 8px; 
        font-size: clamp(0.76rem, 2.6vw, 0.86rem);
    }

    .turno-acciones button {
        padding: 5px 7px; 
        font-size: clamp(0.68rem, 2.4vw, 0.76rem);
    }

    .turno-acciones button + button {
        margin-left: 3px;
    }

    dialog {
        padding: 18px;
    }

    .dialog-actions button {
        flex: 1;
    }
}


/*************************************/
/* ***** Media Query con 490px ***** */
/*************************************/
@media (max-width: 490px) {
    .fa-bars {
        scale: 0.9;
    }

    .main-name {
        font-size: 1.1rem;
    }

    .main-namesito {
        font-size: 0.62rem;
    }

    /* ************************** */
    footer {
        padding: 30px 0;
    }

    p.contac {
        font-size: 1.6rem;
    }

    p.mimail {
       font-size: 0.9rem;
    }

    footer .copyright {
        font-size: 0.74rem;
        font-stretch: normal;
    }
}


/*************************************/
/* ***** Media Query con 430px ***** */
/*************************************/
@media (max-width: 430px) {
    .logo .enlace img {
        height: 40px;
        width: 40px;
    }
}