/* GENERAL */

p {
    margin-bottom: 24px;
    line-height: 1.9;
}
 
label {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #00011c;
}
.bg-purple {
    background-color: #F024F6;
}
/* TITLE */
 
#title-container {
    min-height: 460px;
    height: 100%;
    text-align: center;
    padding: 105px 28px 28px 28px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    background: var(--color-gradient-navbar);
    color: var(--color-white) !important;
    border-top: 13px solid #F024F6;
}
 
#title-container h2 {
    color: #fff !important;
    padding: 0;
    margin-bottom: 2rem;
}
  
#title-container p {
    font-size: 16px;
    padding: 0 25px;
    line-height: 20px;
}
/* 
.covid-image {
    width: 214px;
    margin-bottom: 15px;
}*/
/* FORMS */
 
#qbox-container {
    /*background: url(../img/corona.png);*/
    background-repeat: repeat;
    position: relative;
    padding: 50px;
    min-height: 630px;
    box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
}
 
#steps-container {
    margin: auto;
    width: 500px;
    /*min-height: 420px;*/
    display: flex;
    vertical-align: middle;
    align-items: center;
}
 
.step {
    display: none;
    width: 100%;
}
 
.step h3 {
    margin: 0 0 20px 0;
    padding: 0;
    position: relative;
    font-size: 2rem !important;
    line-height: 1.6;
}
 
button#prev-btn,
button#next-btn,
button#submit-btn {
    font-size: 17px;
    font-weight: bold;
    position: relative;
    width: 130px;
    height: 50px;
    background: var(--color-primary-btn);
    margin: 0 auto;
    margin-top: 40px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: color .3s;
    text-align: center;
    color: #fff;
    border: 0;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
 
button#prev-btn:after,
button#next-btn:after,
button#submit-btn:after {
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #cf007d;
    content: "";
    z-index: -2;
    transition: transform .3s;
}
 
button#prev-btn:hover::after,
button#next-btn:hover::after,
button#submit-btn:hover::after {
    transform: translateY(-80%);
    transition: transform .3s;
}
 
.progress {
    border-radius: 0px !important;
}
 
.q__question {
    position: relative;
}
 
.q__question:not(:last-child) {
    margin-bottom: 10px;
}
 
.question__input {
    position: absolute;
    left: -9999px;
}
 
.question__label {
    position: relative;
    display: block;
    line-height: 26px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #fff;
    padding: 5px 20px 5px 50px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}
 
.question__label:hover {
    border-color: var(--color-accent) !important;
}
 
.question__label:before,
.question__label:after {
    position: absolute;
    content: "";
}
 
.question__label:before {
    top: 8px;
    left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #c180ff;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
 
.question__input:checked+.question__label:before {
    background-color: var(--color-accent) !important;
    box-shadow: 0 0 0 0;
}
 
.question__input:checked+.question__label:after {
    top: 15px;
    left: 15px;
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
 
.form-check-input:checked,
.form-check-input:focus {
    background-color: #DC3545 !important;
    outline: none !important;
    border: none !important;
}
 
input:focus {
    outline: none;
}
 
#input-container {
    display: inline-block;
    box-shadow: none !important;
    margin-top: 36px !important;
}
 
label.form-check-label.radio-lb {
    margin-right: 15px;
}
 
#q-box__buttons {
    text-align: center;
}
 
input[type="text"],
input[type="email"] {
    padding: 8px 14px;
}
 
input[type="text"]:focus,
input[type="email"]:focus {
    border: 1px solid #DC3545;
    border-radius: 5px;
    outline: 0px !important;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
 
.form-check-input:checked[type=radio],
.form-check-input:checked[type=radio]:hover,
.form-check-input:checked[type=radio]:focus,
.form-check-input:checked[type=radio]:active {
    border: none !important;
    -webkit-outline: 0px !important;
    outline: none;
    box-shadow: none !important;
}
 
.form-check-input:focus,
input[type="radio"]:hover {
    box-shadow: none;
    cursor: pointer !important;
}
 
#success {
    display: none;
}
 
#success h4 {
    color: #DC3545;
}
 
.back-link {
    font-weight: 700;
    color: #DC3545;
    text-decoration: none;
    font-size: 18px;
}
 
.back-link:hover {
    color: #82000a;
}
/* PRELOADER */
 
#preloader-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}
 
#preloader {
    background-image: url('../images/processing.gif');
    width: 120px;
    height: 119px;
    border-top-color: #fff;
    border-radius: 100%;
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    margin: -75px 0 0 -75px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 1001;
}
 
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
 
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
 
#preloader-wrapper .preloader-section {
    width: 51%;
    height: 100%;
    position: fixed;
    top: 0;
    background: #F7F9FF;
    z-index: 1000;
}
 
#preloader-wrapper .preloader-section.section-left {
    left: 0
}
 
#preloader-wrapper .preloader-section.section-right {
    right: 0;
}
 
.loaded #preloader-wrapper .preloader-section.section-left {
    transform: translateX(-100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
 
.loaded #preloader-wrapper .preloader-section.section-right {
    transform: translateX(100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
 
.loaded #preloader {
    opacity: 0;
    transition: all 0.3s ease-out;
}
 
.loaded #preloader-wrapper {
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s 1s ease-out;
}
/* Calendar Container */
.calendar-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /*padding: 20px;*/
    margin-bottom: 30px;
}

/* Calendar Header */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-arrow {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6e00b3;
    cursor: pointer;
    padding: 5px 15px;
}

.btn-arrow:hover {
    color: #1c0333;
}

/* Weekdays Header */
.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    background: #f3f4f6;
    padding: 10px 0;
    border-radius: 4px;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-top: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.125rem;
    transition: all 0.2s;
    /*New Induction*/
    border: 1px solid #d1d5db;
}

/* Calendar Day States */
.calendar-day.available {
    background-color: #ffffff;
    color: #111827;
    cursor: pointer;
}

.calendar-day.today {
    background: #FFDB99;
    font-weight: bold;
    cursor: pointer;
}

.calendar-day.partly_booked {
    background: #FFA500;
    color: #000000;
    cursor: pointer;
}

.calendar-day.fully_booked,
.calendar-day.off_day {
    background: #E5E7EB;
    color: #9ca3af;
    cursor: not-allowed;
}

.calendar-day.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}
/* Hover states */
.calendar-day.available:hover,
.calendar-day.partly_booked:hover {
    background-color: #6e00b3;
    color: #ffffff;
}
.calendar-day:not(.disabled):not(.fully_booked):not(.off_day):hover {
    background: #6e00b3;
    color: #ffffff;
}

/* Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.125rem;
    font-weight: 600;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    /*New induction*/
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}
.legend-color.past,
.legend-color.disabled {
    background-color: #E5E7EB;
}

.legend-color.today {
    background-color: #FFDB99;
}

.legend-color.partly_booked {
    background-color: #FFA500;
}

.legend-color.available {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
}

.legend-color.unavailable,
.legend-color.off_day,
.legend-color.fully_booked {
    background-color: #E5E7EB;
    color: #9ca3af;
}
/* Slots Container */
.slots-container {
    margin-top: 20px;
}

.slots-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-back {
    background: none;
    border: none;
    color: #6e00b3;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 1.25rem;
}

.slots-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.slot-button {
    background: #ffffff;
    border: 1px solid #6e00b3;
    color: #6e00b3;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.slot-button:hover {
    background: #6e00b3;
    color: #ffffff;
}

.slot-button.selected {
    background: #1c0333;
    border-color: #1c0333;
    color: #ffffff;
}

.slot-button.unavailable {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Tooltip */
.calendar-tooltip {
    position: absolute;
    background: #1c0333;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 1000;
}
/* MEDIA QUERIES */
 
@media (min-width: 990px) and (max-width: 1199px) {
    #title-container {
        padding: 80px 28px 28px 28px;
    }
    #steps-container {
        width: 85%;
    }
}
 
@media (max-width: 991px) {
    #title-container {
        padding: 30px;
        min-height: inherit;
    }
}
 
@media (max-width: 767px) {
    #qbox-container {
        padding: 30px;
    }
    #steps-container {
        width: 100%;
        min-height: 400px;
    }
    #title-container {
        padding-top: 50px;
    }
}
 
@media (max-width: 560px) {
    #qbox-container {
        padding: 14px;
    }
    #title-container {
        padding-top: 45px;
    }
}