.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.table th {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    background-color: #f5f3ef;
}

.table tr {
    background-color: #FFF;
    border-right: 1px solid #f5f3ef;
    border-left: 1px solid #f5f3ef;

}

.table td {
    padding: 0.7rem;
    border-bottom: 1px solid #eee;
}

.table tr:hover {
    background-color: #fafaf9;
}

header {
    width: 100%;
    background-color: #FFF;
    height: 70px;
    border-bottom: 1px solid #dee2e6;
}

    #logo {
        height: 50px;
    }

    nav {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        margin-left: 2rem;
    }

    .header-user-btn {
        background-color: #f5f3ef;
        border: 1px solid #eae8e5;
        cursor: pointer;
        border-radius: 10px;
        height: 45px;
        font-size: 0.8rem;
        position: relative;
        width: auto;
    }

    .header-user-img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
    }

    #user-menu {
        position: absolute;
        top: 50px;
        right: 0px;
        background-color: #fff;
        width: 100%;
        border-radius: 10px;
        border: 3px solid #fafafa;
    }

    #user-menu a {
        display: block;
        padding: 0.5rem 1rem;
        color: #333;
        font-size: 0.8rem;
        cursor: pointer;
        border-radius: 7px;
    }

    #user-menu a:hover {
        background-color: #f2f6f9;
    }

    h1 {
        font-size: 1.5rem;
        font-family: 'Cabin', sans-serif;
        font-weight: 800;
    }

/* labels */
.small-label-ok {
    background-color: #DFF0D8;
    color: #3C763D;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.8rem;
}

.small-label-ko {
    background-color: #EEE;
    color: #444;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.8rem;
}

/* CENTERS */

.centers-header {
    background-color: #EFF3FF;
    padding-top: 1rem;
    height: 500px;
}

#map {
    height: 450px;
    margin-top: -400px;
    border-radius: 15px;
}

.centers-cont {
    background-color: #FAFBFF;
    border: 1px solid #ECF0F2;
    margin-bottom: 0.5rem;
    padding: 0.7rem;
    height: auto;
    border-radius: 15px;
    display: inline-block;
}

.center-item {
    background-color: transparent;
    cursor: pointer;
    border: none; 
}

.centers {
    display: none;
    overflow: hidden;
}


/* CALENDAR */

#prevMonth {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-image: url('/iconos/chevron-left.svg');
    background-position: center;
    background-size: 25px;
    background-repeat: no-repeat;
    border: 1px solid #DDD;
}

#nextMonth {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-image: url('/iconos/chevron-right.svg');
    background-position: center;
    background-size: 25px;
    background-repeat: no-repeat;
    border: 1px solid #DDD;
}

.calendarTable {
    width: 100%;
    border-collapse: collapse;
    /* border: 1px solid #EEE; */
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    table-layout: fixed;
}

.calendarTable th {
    text-align: center;
    padding: 1rem;
    background-color: #DDD;
}

.calendarTable td {
    padding: 1.7rem 0.5rem 0.5rem 0.5rem;
    border: 1px solid #e4e4e4;
    min-height: 120px;
    height: 120px;
    position: relative;
    background-color: #FFF;
}

.numeroDia {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: #7c8b97;
}




.otherMonth {
    color: #C4C4C4 !important;
    background-color: #eef0f3 !important;
}

.calendarDays th {
    background-color: #cacfd3;
    border: 0px solid #EEE;
    border-radius: 0px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendarEvent {
    padding: 0.3rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.calendarEventHours {
    font-size: 0.7rem;
    margin-top: 0.2rem;
    padding-left: 0.8rem;
    background-image: url('/iconos/clock.svg');
    background-repeat: no-repeat;
    background-position: left 3px;
    background-size: 0.6rem;
    color: #484c59;
}

.eventForm {
    background-image: linear-gradient(to bottom right, rgb(246, 248, 248), rgb(251, 253, 253));
    border-radius: 15px;
    padding: 1rem;
}

.eventForm label {
    color: #666;
    width: 100%;
    font-size: 0.9rem;
    padding-bottom: 0.3rem;
}

.eventForm input, .eventForm select {
    background-color: #FFF;
    height: 35px;
    border: 1px solid #DDD;
    border-radius: 10px;
    padding: 0.4rem;
}

#selectedEvent {
    padding: 1rem;
    border: 1px solid #DDD;
    border-radius: 15px;
}

.tabs {
    margin-bottom: 2rem;
    gap: 1rem
}

.tabs a {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    background-color: #FFF;
    color: #7c8b97;
}

.tabs a.tab-active {
    background-color: #7c8b97;
    color: #FFF;
}

/* Folders and files */
.folder-switch {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.folder-switch > div {
    background-color: #c3d5e0;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
}

.folder-switch > div > img {
    width: 16px;
    margin-right: 0.3rem;
}

.folder-switch > div > span {
    color: #2C3141;
}

.folder-switch > a {
    background-color: #cbd0d1;
    height: 30px;
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    margin-left: 0.3rem;
}

    .folder-switch > a > img {
        width: 15px;
        margin-right: 0.3rem;
    }

    .ghost-class {
        background-color: #f2f6f9;
    }

    .handle {
        cursor: pointer;
    }