.calendar {
    width: fit-content;
    height: 350px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
}

/* ================= HEADER ================= */
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.title h4 {
    font-size: 15px;
    margin: 0;
}

.arrow-control {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.arrow-control:hover {
    background: #db3d44;
    color: #fff;
    transition: 0.3s;

}

/* ================= WEEK ================= */
.week,
.list {
    display: flex;
    flex-wrap: wrap;
}

.week .day {
    width: 14.28%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    height: 20px;
}

/* ================= DATES ================= */
.list .date {
    width: 14.28%;
    height: 32px;
    margin-top: 4px;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}

.list .date:hover:not(.disabled) {
    background: #db3d44;
    color: #fff;
    transition: 0.3s;

}

.list .fadeout {
    color: #ddd;
    transition: 0.3s;

}

.list .today {
    color: #db3d44;
}

.list .today.active {
    color: #fff;
}

.active {
    background: #db3d44 !important;
    color: #fff;
}

.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* ================= ACTION BUTTONS ================= */
.calendar-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.calendar-actions button {
    width: 48%;
    padding: 6px 0;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
}

.btn-cancel {
    background: #fff;
    border: 1px solid #db3d44;
    color: #db3d44;
}

.btn-done {
    background: #db3d44;
    border: 1px solid #db3d44;
    color: #fff;
}

/* ================= OUTPUT ================= */
#selectedDate {
    font-weight: bold;
}


.mailbox {
    border: 2px solid rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    margin-bottom: 43px;
    box-shadow: 0px 3px 6px #00000029;
}

.mailbox .main-content .mail-img {
    width: 57px;
    height: 57px;
}

.mailbox .main-content .mail-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mailbox .main-content .mail-content .mail-head {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0px !important;
}

.mailbox .main-content .mail-content .mail-id {
    color: #618bff !important;
}
