body {
    font-family: Arial, sans-serif;
    background-color: #e8f5e9;
    text-align: center;
    margin: 0;
    padding: 20px;
}

.container {
    background: white;
    padding: 30px 25px;
    margin: 20px auto;
    width: 95%;
    max-width: 750px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.servicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.servicio {
    background: #13cc7c;
    color: white;
    border: none;
    padding: 18px 25px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    flex: 1 1 40%;
    max-width: 220px;
}

.servicio:hover {
    background: #13cc7c;
}

#turnos {
    width: 100%;
    margin-top: 25px;
    border-collapse: collapse;
}

#turnos th, #turnos td {
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#turnos th {
    background: #13cc7c;
    color: white;
}

.seleccionar-turno {
    background: #13cc7c;
    color: white;
    border: none;
    padding: 8px 14px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 4px;
}

.seleccionar-turno:hover {
    background: #0d5302;
}

#agendar {
    background: #13cc7c;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

#agendar:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.boton {
    background: #13cc7c;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

.boton:hover {
    background: #11a766;
}

.boton:disabled {
    background: #ccc;
    cursor: not-allowed;
}

input {
    display: block;
    width: 90%;
    max-width: 600px;
    margin: 12px auto;
    padding: 14px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

button {
    margin-top: 10px;
}

/* Media Queries Responsivas */
@media (max-width: 768px) {
    .servicio {
        flex: 1 1 100%;
        max-width: none;
    }

    .container {
        width: 95%;
        padding: 25px 20px;
    }

    input {
        width: 95%;
    }

    #turnos th, #turnos td {
        font-size: 14px;
        padding: 10px;
    }

    .boton, #agendar {
        font-size: 16px;
        padding: 10px 20px;
    }
    #confirmacion {
    font-size: 20px;
    padding: 30px;
    }

    #confirmacion h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    #confirmacion p {
        line-height: 1.6;
        font-size: 20px;
    }

}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .servicio {
        padding: 14px;
        font-size: 16px;
    }

    input {
        font-size: 14px;
    }

    h2 {
        font-size: 22px;
    }

    #turnos th, #turnos td {
        font-size: 13px;
    }
}
