:root{
    --orange: #ff7f32;
    --purple: #5c068c;
    --light-gray: #a8a99e;
}
*,
*::before,
*::after{
    box-sizing: border-box;
}

@font-face{
    font-family:'D-DIN';
    src: url("../../fonts/D-DIN.otf") format('opentype');
    font-weight: normal;
}

@font-face{
    font-family:'D-DIN';
    src: url("../../fonts/D-DIN-Bold.otf") format('opentype');
    font-weight:bold;
}

header{
    margin: 0;
}

.ayuda{
    margin: 0;
    display: flex;
    background-color: rgb(238 238 238);
    justify-content: space-between;
    padding-inline: 3em;
}

.ayuda > h1{
    font-size: 1.2rem;
    color: var(--light-gray);
}

.items-container{
    display: flex;
    gap: 8em;
}

.items{
    display: flex;
    align-items: center;
    gap: 10px;
}

    .items > img {
        --radio: 25px;
        width: var(--radio);
        height: var(--radio);
    }

    .items > a {
        color: var(--light-gray);
        text-decoration: none;
        font-weight: bold;
    }

.principal{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 3em;
     
}

.principal > img{
    --logo-scl: 6em;
    width: var(--logo-scl);
    height: var(--logo-scl);
}

.principal > p{
    color: var(--purple);
    font-size: 2rem;
    inline-size: 40ch;
}

.principal > a{
    text-decoration: none;
    color: var(--orange);
    font-size: 2em;
    font-weight: bold;
    inline-size: 11ch;
    white-space: pre-line;
}

.navegacion{
    background-color: var(--purple);
    color: white;
    display: flex;
    justify-content: space-between;
    align-content: center;
    position: relative;
    padding-inline: 3em;
}

.navegacion > h2{
    font-size: 2.5rem;
    margin-bottom: 1.5em;
}

.nav-container {
    position: absolute;
    background-color: rgb(137 113 164);
    width: 60%;
    height: 45%;
    bottom: -31px;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.nav-container > a{
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
}

.accent {
    background-color: var(--orange);
    padding: 1.5em;
    border-radius: 20px;
    font-weight: bold;
}

.navegacion > button{
    border: 2px solid var(--orange);
    border-radius: 50%;
    position: relative;
    background: none;
    width: 40px;
    height: 40px;
    padding: 1em 1em;
    margin-top: 1em;
}

    .navegacion > button > img {
        height: 100%;
        width: 100%;
        position: absolute;
        inset: 0;
        transform: scale(-50%)
    }


body{
    font-family: "D-DIN";
    margin:0;
}

button{
    cursor: pointer;
}

.irr-grid{
    display: grid;
    grid-template-columns: 1fr repeat(4, max-content);
    margin: 0 23em;
    align-items: center;
    color: var(--light-gray);
}

.order-filter{
    border: none;
    background-color: transparent;
    padding: 10px 15px;
    font: inherit;
    color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 0 7px 1px rgba(0, 0,0, 0.2);
    margin-right: 3em;
    margin-left: 1em;
}


.ordenar{
    border: none;
    border-radius: 30px;
    margin-right: 5em;
    width: 110px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    background-color: var(--orange);
    color: white;
    text-transform: uppercase;
    font-family: inherit;
}

.return{
    position: relative;
    border:none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--purple);
    
}

.return > img{
    position: absolute;
    width: 100%;
    inset: 0;
}

.hr-style{
    border: 1px solid var(--light-gray);
    margin: 3em 16em;
}


.tarjeta-doctor{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
   /* margin: 0 13em;*/
    align-items: center;
   /* justify-items: center;*/
    color: var(--light-gray);
    column-gap: 2em;
}

.nombre-doctor {
    color: var(--purple);
    font-weight: bold;
    margin-top: -18px;
    font-size: 20px;
    inline-size: 17ch;
    text-align: center;
}

.icono{
    position: relative;
    left: -60px;
    top: 5px;
}

.especialidad-doctor{
    position: relative;
    font-size: 18px;
}

.rating-doctor{
    width: 150px;
}

.flex-layout{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.row-gap{
    margin-bottom: 2em;
}

.avatar{
    border: 5px solid var(--orange);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.avatar > img{
    width: 100%;
}

.descripcion-doctor{
    inline-size: 12em;
}


.seleccionar{
    position: relative;
    border: none;
    border-radius: 50%;
    background-color: var(--purple);
    color: var(--orange);
    width: 30px;
    aspect-ratio: 1;
    text-align: center;
}

.seleccionar > img{
    position:absolute;
    inset: 0;
    width: 100%;
}

.agregar{
    display: flex;
    padding: 0;
    --r: 40px;
    width: var(--r);
    height: var(--r);
    font-size: 38px;
    justify-content: center;
    align-items: center;   
}

.consulta-layout{
    display: flex;
    flex-flow: row;
    width: 46em;
    height: 5em;
    gap: 3em;
    justify-content: start;
    align-items: center;
    padding: 0px 1em;
    border-radius: 20px;
    box-shadow: 0 0 7px 3px rgba(0, 0,0, 0.2);
    transition: background linear .5s, color linear .5s;
}

.consulta-layout > p:first-of-type{
    font-weight: bold;
    inline-size: 12em;
    text-transform: uppercase ;
}

.consulta-layout p:last-of-type{
    inline-size: 4em;
}

.precio{
    inline-size: 6.5em;
}

.agendar{
    border:none;
    border-radius: 5px;
    width: 100px;
    height: 25px;
    background-color: var(--orange);
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    padding: 1px 5px;
    font-weight: bold;
}

.notFoundText {
    margin-inline: 37%;
    inline-size: max-content;
    font: inherit;
    font-size: inherit;
    color: var(--purple);
    font-size: 2.5rem;
}




/**************************************/

#masFechasContainer {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: max-content;
    align-items: center;
    margin-left: 10%;
}

.doctorVisual {
    display: flex;
    gap: 3em;
    width: max-content;
    padding: 15px;
    border-radius: 62px;
    box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.5);
}

.imgDoctorVisual {
    width: 90px;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
}

    .imgDoctorVisual img {
        width: 100%;
    }

.infoDoctorVisual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.masFechasFiltros {
    display: flex;
    gap: 2em;
}


    .masFechasFiltros input[type="submit"], .filtrosLayout input[type="date"] {
        cursor: pointer;
    }

.masFechasWrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 57em;
    padding: 1em;
    font-size:12px;
}

.masFechasBotones {
    display: flex;
    gap: 1em;
}

.imgLayout {
    position: relative;
}

    .imgLayout input[type="image"] {
        width: 50px;
        aspect-ratio: 1;
    }

        .imgLayout input[type="image"]:disabled {
            cursor: default;
        }

    .imgLayout label {
        position: absolute;
        top: 50%;
        left: 50%;
        color: white;
        transform: translate(-50%,-50%);
        pointer-events: none;
    }


.masFechasData {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px;
    justify-content: center;
    box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.4);
    border-radius: 5px;
}

.fechasTarjetas {
    position: relative;
    width: 8em;
}

    .fechasTarjetas input[type="submit"] {
        width: 100%;
        padding: 13px;
        border-radius: 11px;
        box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.5);
        background: transparent;
    }

        .fechasTarjetas input[type="submit"]:hover {
            cursor: pointer;
        }

.labels {
    width: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none
}

#lblSinFechas {
    color: var(--purple);
}
