﻿.ScheduleContainer {
    display: flex;
    white-space: normal;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
    overflow-y: auto;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    text-align: center;
}


.ScheduleDay {
    display: block;
    margin: 5px;
    padding: 5px;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    height: auto;
    overflow-y: scroll;
    border: 1px solid #eee;
    float: left;
    border-radius: 5px;
    /*max-height: 500px;*/
}

.ScheduleDayHeader {
    height: 30px;
    min-height: 30px;
    width: fit-content;
    padding: 3px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    display: block;
}

.ScheduleSlot {
    height: auto;
    width: 95px;
    font-size: .8em;
    text-align: center;
}



.CalendarClinicDay {
    position: relative !important;
    max-height: 800px;
    overflow-y: auto;
}

.CalendarAppointmentChip {
    position: absolute !important;
    padding: 0;
    margin: 0;
    border: 1px solid black !important;
    z-index: 99;
    border-radius: 5px;
    text-align: center;
    box-shadow: 3px 3px #999999;
    width: 150px !important;
    overflow-y: hidden;
    cursor: pointer;
}

    .CalendarAppointmentChip:active {
        box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .7);
        transform: scale(0.98);
    }



.CalendarDayHeader {
    /*color: var(--MenuForeColor);
    background-color: var(--MenuBackColor);*/
    display: block;
    width: auto;
    height: 30px !important;
    max-height: 30px;
    text-align: center;
}

.CalendarTimeColumnHeader {
    /*color: var(--MenuForeColor);
    background-color: var(--MenuBackColor);*/
    width: 80px;
    height: 30px !important;
    max-height: 30px;
    text-align: center !important;
    border: 1px solid black;
}

.CalendarDoctorDayHeader {
    /*color: var(--MenuForeColor);
    background-color: var(--MenuBackColor);*/
    width: auto;
    min-width: 150px;
    height: 30px !important;
    text-align: center;
    border: 1px solid black;
}

.CalendarRow {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    border: 1px solid gray;
    padding: 3px;
}

.CalendarRowCell {
    display: flex;
    height: 20px !important;
    border: 1px solid gray;
    padding: 0px;
    margin: 0;
    width: 100%;
}

.CalendarTimeRowHeader {
    font-size: .6em;
    padding: 1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 288px);
    column-gap: 123px;
    row-gap: 75px;
}


.slot, .TimeColumnSlot {
    height: 30px;
    padding: 8px;
    border: 1px solid black;
    border-radius: 0px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .slot.free {
        background-color: lightgreen; /* Green for free slots */
    }

    .slot.busy {
        background-color: #f44336; /* Green for free slots */
    }

    .slot.nonworking {
        background-color: #f44336; /* Red for busy slots */

        cursor: not-allowed;
    }

    .slot.pending {
        background-color: #4caf50; /* Red for busy slots */
    }

    .slot.complete {
        background-color: darkgreen; /* Red for busy slots */
    }

    .slot.canceled {
        background-color: darkred; /* Red for busy slots */
    }

.TimeColumnSlot {
    width: 80px;
    min-width: 80px;
}

.calendarSlot {
    /*height: 15px;*/
    font-size: 10px;
    padding: 1px;
    padding-top: 0;
    align-content: normal;
    margin-top: 0;
    /*border: 1px solid black;*/
    border-right: 1px solid black;
    max-width: 100%;
    overflow-x: hidden
}

.calendarTimeSlot {
    /*height: 15px;*/
    font-size: 0.8em;
    padding: 1px;
    padding-top: 0;
    align-content: start;
    margin-top: 0;
    /*border: 1px solid black;*/
}

.heightAuto {
    height: auto;
}

.CalendarRow {
    height: 15px;
    border: 1px solid black;
    padding: 0;
}
