:root {
    --dark-body-bg: #232429;
    --light-body-bg: #F5F7FB;

    --dark-input: #323741;
    --light-input: #ffffff;

    --dark-border: #484D5A;
    --light-border: #B8BCCB;

    --dark-date-foreground: #FFFFFF;
    --dark-inactive-fg: #636A78;
    --dark-active-fg: #9CA0B1;
    --dark-current-year: #3B414A;
    --dark-current-year-fg: #B2B8C9;
    --dark-selected: #1D5EFF;
    --dark-hover: #2C437B;
    --dark-arrows-bg: #B0B8CC;
    --dark-arrows-fill: #333641;
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2"), url("../fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

.file-uploader .fa {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.file-uploader .fa-cloud-upload-alt::before {
    content: "\f0ee";
}

.artisan-form-wrapper {
    max-width: 100%;
}

.artisan-form-wrapper .artisan-form-container,
.artisan-form-wrapper .artisan-form-container .artisan-form {
    width: 100%;
}

.artisan-form-wrapper .artisan-form-container .artisan-message-container,
.artisan-form-wrapper .artisan-form-container .artisan-form-container {
    width: 100%;
}

.artisan-form-wrapper .artisan-form-container .position-relative {
    position: relative !important;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .textarea-counter {
    position: absolute;
    bottom: 4px;
    right: 16px;
    font-size: 14px;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .required:not(.file-uploader) > label:after,
.artisan-form-wrapper .artisan-form-container .artisan-form .required:not(.file-uploader) > div.date-picker-input label:after,
.artisan-form-wrapper .artisan-form-container .artisan-form .required.file-uploader .upload-field-text:after {
    content:"*";
    color:red;
    margin-left: 3px;
    font-size: 12px;
    vertical-align: 7%;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .clr-field {
    display: block !important;
}
.artisan-form-wrapper .artisan-form-container .artisan-form .clr-field button {
    z-index: 1;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .form-check label {
    display: inline !important;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .form-check input {
    display: inline !important;
    position: relative;
    margin: 0;
}

.artisan-form-wrapper .artisan-form-container .artisan-form textarea {
    resize: vertical;
}

.artisan-form-wrapper .artisan-form-container .artisan-form button.btn {
    width: initial;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .file-uploader span {
    max-width: 100%;
    text-align: center;
    font-size: 16px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.artisan-form-wrapper .artisan-form-container .artisan-form .file-uploader label {
    width: 100%;
    height: 125px;
    border: 2px dotted #000000;
    color: #000000;
    background-color: #F5F8F9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.artisan-form-wrapper .artisan-form-container .artisan-form .file-uploader label:hover {
    background-color: #fff;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .file-uploader input {
    display: none;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .file-uploader .fa {
    font-size: 24px;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-input input:hover {
    cursor: pointer;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-input input.onFocus:focus {
    outline: none;
}
.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-input input[readonly] {
    background-color: #fff;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-input:after {
    content: "▾";
    padding: 12px 15px;
    position: absolute;
    right: 12px;
    top: 33%;
    color: #8A8F9F;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar {
    min-height: fit-content;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 12px;
    position: absolute;
    z-index: 1000;
    width: 300px;
    height: auto;
    border-radius: 15px;
    background: var(--dark-input);
    border: 2px solid var(--dark-border);
    left: 0;
    right: 0;
    margin: 0 auto;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-header {
    width: 100%;
    min-height: 30px;
    /*   background: pink; */
    margin-bottom: 8px;
    color: var(--dark-date-foreground);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-header .cal-btn {
    width: 20px;
    height: 20px;
    background: var(--dark-arrows-bg);
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 6px;
    line-height: normal;
    font-size: 12px;
    transition: none;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-header .cal-btn img {
    width: 42%;
    height: 42%;
    margin-top: -4px;
    display: unset;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-header .cal-btn.back img {
    transform: rotate(90deg);
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-header .cal-btn.front img {
    transform: rotate(-90deg);
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-wrapper .calendar-days,
.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-wrapper .calendar-main {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 5px;
    column-gap: 5px;
    color: var(--dark-inactive-fg);
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-wrapper .calendar-days {
    margin-top: 10px;
    margin-bottom: 10px;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-wrapper .calendar-main {
    grid-template-rows: repeat(5, min(30px));
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .date-picker-calendar .calendar-wrapper .calendar-main .cell_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    position: relative;
    height: 30px;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .current {
    background: var(--dark-current-year);
    color: var(--dark-current-year-fg);
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .current:not(.active):hover {
    background: var(--dark-hover);
    color: var(--dark-date-foreground);
    border: 2px solid var(--dark-selected);
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .cal-btn:hover,
.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .current:hover {
    cursor: pointer;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .active {
    background: var(--dark-selected);
    color: var(--dark-date-foreground);
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .inactive_indicator:after {
    content: '';
    width: 3px;
    height: 3px;
    background: red;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
    left: 50%;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker {
    position: relative;
}

.artisan-form-wrapper .artisan-form-container .artisan-form .date-picker .hidden {
    visibility: hidden;
    display: none;
}

.clr-field button {
    width: 20px;
    height: 20px;
    right: 10px;
    top: 50%;
    border-radius: 50%;
    border: 1px solid #495057;
}

.radio-list label {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    line-height: 1;
}

.radio-list > label {
    margin-left: 0;
    padding-left: 0;
}
