/* ------------ GLOBAL ------------- */
.Dashboard_holder .section_box {
    padding: 20px;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px #00000029;
    border-radius: 9px;
    opacity: 1;
    height: 100%;
}

.Dashboard_holder .section_box h4 {
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: #191a15;
    opacity: 1;
    margin-bottom: 20px;
}

/* ------------ TOP FOUR CARDS ------------- */
.Dashboard_holder .bucket_holder {
    padding: 10px;
    box-shadow: 0px 0px 6px #00000029;
    border-radius: 9px;
    opacity: 1;
}

.Dashboard_holder .bucket_holder .card_img_holder {
    width: 60px;
    height: 60px;
    padding: 12px;
    margin: 0px auto;
    border-radius: 50px;
    background: #fff;
    margin-bottom: 10px;
}

.Dashboard_holder .bucket_holder .card_img_holder .card_logo_img {
    width: 100%;
    height: 100%;
}

.Dashboard_holder .bucket_holder h5 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #191a15;
    opacity: 1;
}

.Dashboard_holder .bucket_holder h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0px;
    color: #191a15;
    opacity: 1;
    margin-bottom: 0px;
}

/* ------------ ATTENDANCE SECTION ------------- */

/* ------------ NOTIFICATIONS ------------- */

/* notifications_box */

.Dashboard_holder .notifications_box {
    max-height: 550px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

/* Text */
.Dashboard_holder .notifications_box .notif_heading {
    margin-bottom: 2px;
    font-size: 16px;
    font-weight: 500;
    color: #191a15;
    text-transform: capitalize;
    opacity: 1;
}

/* notif_icon  */

.notif_item_box {
    position: relative;
    border-radius: 10px;
    padding: 5px 5px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    transition: 0.2s;
    background: #fbfbfb 0% 0% no-repeat padding-box;
    border: 1px solid #d5d5d5;
    opacity: 1;
}

.notif_item_box:hover {
    background: #f9f9f9;
}

/* Left Section */
.notif_item_box .notif_left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Green Dot */
.notif_item_box .notif_dot {
    width: 12px;
    height: 12px;
    background: #1eb900;
    border-radius: 50%;
    aspect-ratio: 1/1;
    position: absolute;
    top: -5px;
    left: -5px;
}

.notif_item_box .notif_icon {
    height: 60px;
    width: 60px;
    aspect-ratio: 1/1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif_item_box .Notifications_icon_img {
    height: 40px;
    width: 40px;
}

.notif_item_box .notif_desc {
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #191a15;
    text-transform: capitalize;
    opacity: 1;
    margin-bottom: 0px;
}

/* Time (top right corner) */
.notif_item_box .notif_time {
    font-size: 12px;
    font-weight: 600;
    color: #8a8a8a;
    white-space: nowrap;
    margin-left: 10px;
    height: fit-content;
    margin-bottom: 0px;
}

/* attendance_box */

.Dashboard_holder .attendance_box {
    height: 350px;
}

.Dashboard_holder .section_box #attendanceChart {
    height: 280px !important;
    object-position: left;
}

.Dashboard_holder .section_box #complaintsChart {
    height: 280px !important;
    width: 100% !important;
    object-fit: contain;
    object-position: center;
}

.Dashboard_holder .section_box #roomAllocationChart {
    height: 280px !important;
    width: 100% !important;
    object-fit: contain;
    object-position: center;
}

/* calendar-container  */
.Dashboard_holder .calendar-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.Dashboard_holder .calendar-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.Dashboard_holder .calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.Dashboard_holder .calendar-nav {
    display: flex;
    gap: 12px;
}

.Dashboard_holder .calendar-nav-button {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #718096;
    border-radius: 8px;
    transition: 0.2s ease;
    width: 32px;
    height: 32px;
}

.Dashboard_holder .calendar-nav-button:hover {
    background-color: #edf2f7;
    color: #4f46e5;
    transform: scale(1.1);
}

.Dashboard_holder .calendar-grid {
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.Dashboard_holder .calendar-day-header {
    text-align: center;
    font-size: 13px;
    color: #718096;
    padding: 8px 0;
    font-weight: 500;
}

/* DAYS */
.Dashboard_holder .calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
    width: 25px;
    height: 25px;
    aspect-ratio: 1/1;
    margin: 2px auto;
    font-size: 12px;
    font-weight: 500;
    color: #2d3748;
}

.Dashboard_holder .calendar-day:hover {
    background-color: #edf2f7;
}

/* Selected date highlight */
.Dashboard_holder .calendar-day.selected {
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    transform: scale(1.1);
}

/* Today outline */
.calendar-day.today {
    border: 2px solid #4f46e5;
    font-weight: 600;
}

/* Weekend red */
.calendar-day.weekend {
    color: #ff5a5f;
}

.Dashboard_holder .calendar-day.other-month {
    color: #cbd5e0;
    opacity: 0.6;
}
@media (min-width: 0px) and (max-width: 485px) {
    .notif_item_box .notif_left {
        gap: 12px;
        display: block;
    }

    .notif_item_box .Notifications_icon_img {
    height: 30px;
    width: 30px;
}

    .Dashboard_holder .notifications_box .notif_heading {
        font-size: 12px;
    }

    .notif_item_box .notif_desc {
        font-size: 11px;
    }

    .Dashboard_holder .calendar-day-header {
        font-size: 9px;
    }

    .Dashboard_holder .calendar-day {
        font-size: 10px;
    }

    .Dashboard_holder .calendar-header {
        padding: 5px;
    }
}

@media (min-width: 0px) and (max-width: 767px) {
    .Dashboard_holder .calendar-title {
        font-size: 11px;
    }
    .Dashboard_holder .bucket_holder h5 {
        font-size: 15px;
    }
    .Dashboard_holder .bucket_holder h2 {
        font-size: 25px;
    }
    .Dashboard_holder .section_box {
        padding: 10px;
    }

    .Dashboard_holder .section_box h4 {
        font-size: 17px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .Dashboard_holder .bucket_holder h5 {
        font-size: 15px;
    }
    .Dashboard_holder .bucket_holder h2 {
        font-size: 25px;
    }
    .Dashboard_holder .section_box {
        padding: 10px;
    }

    .Dashboard_holder .section_box h4 {
        font-size: 17px;
    }
}
