/* ComplianceCalendarAlart.css */

/* Align the month and year pickers to the right and adjust their positioning */
.rdrMonthAndYearWrapper {
    display: flex;
    /* justify-content: center; */
    position: relative;
    height: 0px;
    padding-top: 0px;
}

/* Hide the month and year pickers */
.rdrCalendarWrapper .rdrMonthAndYearWrapper .rdrMonthAndYearPickers {
    visibility: hidden;
}

/* Style the previous button with transparent background and position it */
.rdrNextPrevButton {
    position: absolute;
    top: 1.3rem;
    right: 2.5rem;
    /* Adjust as needed for spacing */
    background-color: transparent;  
}
.rdrNextPrevButton i{
    position: absolute; /* Positions the icon inside the button */
    top: 50%; /* Aligns vertically centered */
    left: 50%; /* Aligns horizontally centered */
    transform: translate(-50%, -50%) rotate(45deg); /* Rotates and centers the icon */
    color: darkgray; /* Transparent color */
    border: 5px solid currentColor; /* Creates the hollow outline */
    border-width: 0 0 2px 2px; /* Adjust thickness and positioning of the arrow */
    width: 9px; /* Adjust width and height for the arrow */
    height: 9px;
}

/* Style the next button with transparent background and position it */
.rdrNextButton {
    position: absolute;
    top: 1.3rem;
    right: 1rem;
    /* Adjust as needed for spacing */
    background-color: transparent;
}
.rdrNextButton i{
    position: absolute; /* Positions the icon inside the button */
    top: 50%; /* Aligns vertically centered */
    left: 50%; /* Aligns horizontally centered */
    transform: translate(-50%, -50%) rotate(135deg); /* Rotates and centers the icon */
    color: darkgray; /* Transparent color */
    border: 5px solid currentColor; /* Creates the hollow outline */
    border-width: 2px 0 0 2px; /* Adjust thickness and positioning of the arrow */
    width: 9px; /* Adjust width and height for the arrow */
    height: 9px;
}

.rdrNextPrevButton:hover {
    background: none;
}

/* Center the date range wrapper */
.rdrDateRangeWrapper {
    display: flex;
    justify-content: center;
}

/* Make the calendar wrapper flexible for layout */
.rdrCalendarWrapper {
    display: flex;
}

/* Hide the color of the current day number */
.rdrDayToday {
    color: transparent !important;
}

/* Style the month name */
.rdrMonthName {
    text-align: left;
    font-weight: bold;
    padding: 0.833em;
    color: black;
}

/* Utility class to hide elements */
.hidden {
    display: none !important;
}

/* Remove background color from the current day number */
.rdrDayToday .rdrDayNumber span:after {
    background: transparent !important;
}


.rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayNumber::after {
    border: transparent !important;
    border-radius: 0px;
    background: transparent;
}


.rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrSelected .rdrDayNumber::after,
.rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayNumber:hover::after {
    border-color: transparent !important;
    /* Hidde border on hover or when selected */
}

/* Initially transparent border */
.rdrDayStartPreview,
.rdrDayInPreview,
.rdrDayEndPreview {
    background: transparent !important;
    border-radius: 0px;
    border: transparent !important;
    z-index: 100;
}


.rdrMonths {
    
    justify-content: space-evenly;
    padding-top: 0.9rem;
}

.rdrMonth {
    width: 50% !important;
}

.rdrMonth .rdrWeekDays {
    border-bottom: 1px solid rgb(207, 212, 214);
    margin-bottom: 0.7rem;
}


.rdrWeekDay {
    font-weight: 400;
    line-height: 1.2rem;
    color: rgb(132, 144, 149);
    margin-top: 0.7rem;
}