/*Header*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: black;
    border-bottom: 1px solid #e0e0e0;
    height: 5vh;
}

.logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cliente {
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.logo_cliente {
    height: 2rem;
}

/*Nav*/
.main-nav a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.usuario {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nombre-usuario {
    display: block;
    font-size: 1.2rem;
    color: white;
}

.icono-usuario {
    height: 2rem;
    width: 2rem;
    background-color: #5036e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*Footer*/
footer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 60px 80px;
    background-color: black;
    color: white;
    font-size: 0.9rem;
    box-sizing: border-box;
    width: 100%;
    gap: 30px;
}

.columna-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.logo-voluntweb-footer {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.info-legal {
    width: 25%;
}

.info-legal a {
    color: white;
    text-decoration: none;
    margin-right: 100px;
    position: relative;
    padding-bottom: 4px;
    display: inline-block;
}

.ayuda {
    margin-top: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    display: inline-block;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.info-legal a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-nav a:hover::after {
    width: 100%;
}

.info-legal a:hover::after {
    width: 100%;
}

.redes-sociales {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-size: 1.5rem;
    align-self: flex-end;
    margin-left: auto;
}

.redes-sociales a {
    color: white;
    text-decoration: none;
}

/*Calendario*/
.calendario {
    background-color: #2c2e3a;
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.mes-calendario {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}

.tabla-calendario {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.nombre-dia {
    font-size: 0.8rem;
    opacity: 0.7;
    padding-bottom: 10px;
}

.dia {
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    max-width: 40px;
    margin: 0 auto;
}

.dia.bloqueado {
    background-color: #ff2d55;
}

.dia.feriado {
    background-color: #00d97e;
}

.botones-calendario {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dia:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn {
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.btn-bloquear {
    background-color: #ff2d55;
}

.btn-feriado {
    background-color: #00d97e;
}

.btn-habilitar {
    background-color: #222;
}

.btn:active {
    opacity: 0.5;
    transform: translateY(2px);
}

@media (max-width: 768px) {
    header {
        height: auto;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .main-nav a {
        margin: 5px;
        font-size: 1rem;
    }

    footer {
        flex-direction: column;
        padding: 40px 20px;
        align-items: center;
        text-align: center;
    }

    .columna-footer {
        align-items: center;
    }

    .redes-sociales {
        margin-left: 0;
        align-self: center;
        margin-top: 20px;
    }
}

#check {
    display: none;
}

.checkbtn {
    display: block;
}

@media (max-width: 480px) {
    #check:checked~.footer-nav {
        left: 0%
    }
}

@media (max-width: 300px) {
    .cliente {
        display: none;
    }
}