:root {
    --primary: #121131;
    --secondary: #EF5225;
    --tertiary: #818286;

    --soft-primary: rgba(18, 17, 49, 0.03);
    --soft-secondary: rgba(239, 82, 37, 0.03);
    --soft-secondary-2: rgba(239, 81, 37, 0.264);
    --soft-tertiary: #818286;
    --soft-tertiary-2: #8182865d;

    --primary-hover: #07071d;
    --secondary-hover: #c5360f;
    --tertiary-hover: #5e5f62;

    --white-soft: rgba(255, 255, 255, 0.5);
    --black-soft: rgba(34, 34, 34, 0.5);

    --white: #ffffff;
    --black: #222222;

}

body {
    overflow-x: unset ;
}

.calendar {
    max-width: 300px;
    font-family: 'Prompt', sans-serif !important;
    color: #242e4c;
    overflow: hidden;
    background-color: white;
}

.calendar-years {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.302);
    z-index: 2;
    padding: 15px 25px;
    margin-left: -120%;
    width: calc(100% - 50px);
    transition: margin-left 0.3s ease-out;
}

.calendar-years.active {
    margin-left: 0px;
}

.select-year {
    border: 1px solid #eee;
    background-color: white;
    overflow: auto;
    height: 100%;
    position: relative;
}

.calendar-years ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.calendar-years ul li {
    padding: 8px 15px;
    margin: 1px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition-duration: 0.3s;
    display: flex;
    align-items: center;
}

.calendar-years ul li:hover {
    background-color: #86868610;
}

button.check-highlight {
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1.4rem;
    color: #1ddc1d;
    visibility: hidden;
}

button.check-highlight.active {
    visibility: visible;
}

.custom-calendar-container {
    position: relative;
    width: 100%;
    z-index: 51;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.custom-calendar-container.active {
    z-index: 52;
}

.custom-calendar-container:focus {
    box-shadow: 0 0 0 0.25rem rgb(241 248 255)!important;
    border-color: #86b7fe!important;
    outline: 0;
}

[aria-placeholder]:empty:before {
    content: attr(aria-placeholder);
    font-size: 16px;
    color: #bbbbbb;
}

.calendar {
    position: absolute;
    top: 38px;
    left: 0;
    display: none;
    z-index: 2;
}

.calendar.active {
    z-index: 5;
}

.calendar.active {
    display: block;
}

.custom-calendar {
    position: relative;
}

.custom-calendar-btn .output {
    display: none;
}

.custom-calendar-container .custom-calendar-btn {
    padding: 4px 35px;
    display: flex;
    overflow: hidden;
    background-color: white;
    height: 40px;
    align-items: center;
    cursor: pointer;
    z-index: 51;
    width: 100%;
    border: 1px solid #12113131;
}

.custom-calendar-container .custom-calendar-btn .custom-select-icon {
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: var(--secondary);
}

.custom-calendar-container:focus {
    box-shadow: 0 0 0 0.25rem rgb(241 248 255)!important;
    border-color: #86b7fe!important;
    outline: 0;
}

.calendar .calendar-head {
    background: var(--primary)!important;
    padding: 5px 10px;
    display: block;
    border: 1px solid var(--primary)!important;
}

.calendar .calendar-head .cal-h-year {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
    width: max-content;
    cursor: pointer;
    display: block;
    padding: 0px 0;
}

.calendar .calendar-head .cal-h-dm {
    color: #eaeaea;
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
}

.calendar .calendar-body {
    border: 1px solid #eee;
    border-top: none;
}

.calendar .calendar-extra {
    position: relative;
    padding: 2px 0;
}

.calendar .calendar-extra .arrow-left {
    float: left;
    position: absolute;
    left: 0;
}

.calendar .calendar-extra .arrow-right {
    float: right;
    position: absolute;
    right: 0;
}

.calendar .calendar-extra .arrow-right,
.calendar .calendar-extra .arrow-left {
    font-size: 1.3rem;
    padding: 8px;
    background-color: transparent;
    border-radius: 50%;
    margin: 1px;
    color: #98a8b4;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.la-angle-right:before {
    color: #4fb767;
    font-family: FontAwesome;
    content: "\f054";
    font-size: 14px;
}

.la-angle-left:before {
    color: #4fb767;
    font-family: FontAwesome;
    content: "\f104";
    font-size: 14px;
}

.calendar .calendar-extra .current-month-y_text {
    color: #4e4e4e;
    font-family: 'Prompt', sans-serif !important;
    font-size: 0.9rem;
}

.calendar .calendar-extra .current-month-y {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.calendar .calendar-body table {
    width: 100%;
    padding: 4px;
    text-align: center;
}

.calendar .calendar-body table thead {
    color: #98a8b4;
}

.calendar .calendar-body table td {
    padding-top: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    padding-top: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.calendar .calendar-body table td::before {
    content: attr(desabled-date);
    color: #d8d6d6;
}

.calendar .calendar-body table td.active {
    background-color: var(--secondary)!important;
    color: white;
}

i {
    font-style: normal !important;
}

/* custom settings */

.calendar.border-radius .calendar-head {
    border-radius: 15px 15px 0 0;
}

.calendar.border-radius .calendar-body {
    border-radius: 0 0 15px 15px;
}

.calendar.border-radius {
    border-radius: 15px;
}

.calendar.box-shadow {
    box-shadow: 0 1px 15px 1px rgba(52, 40, 104, 0.08);
    background-color: transparent;
    z-index: 999;
}

.calendar.box-shadow .calendar-body,
.calendar.box-shadow .calendar-head {
    border: none;
    background-color: #f2f2f2;
}

@media screen and (max-width: 500px) {
    .custom-calendar-overlay.active {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 40;
        background-color: transparent;
    }
}

.selected-date-preview {
    color: #242e4c;
}