/********* Onboarding Flow *************/
#onboarding-form {
    padding-bottom: 5rem;
}

#onboarding-form label {
    font-weight: bold;
}

.onboarding-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 20px;
    align-items: start;
}
.onboarding-step {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex: 1;
}

@media screen and (max-width: 620px) {
    .onboarding-steps {
        max-width: 23rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 576px) {
    #onboarding-form {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.onboarding-step-number {
    background: #7f7f7f;
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.onboarding-step.active .onboarding-step-number {
    background: #eb592d;
}
.onboarding-step-title {
    font-weight: bold;
}

.onboarding-step-content .onboarding-step-panel {
    display: none;
}
.onboarding-step-content .onboarding-step-panel.active {
    display: block;
}

.onboarding-step-content .holidays_wrapper .field_wrapper {
    flex: 1;
}

.onboarding-step-content .holidays_wrapper {
    display: flex;
    align-items: start;
    gap: 1rem;
}

@media screen and (max-width: 991px) {
    .onboarding-step-content .holidays_wrapper {
        flex-direction: column;
        margin-bottom: 2rem !important;
    }

    .onboarding-step-content .holidays_wrapper .field_wrapper {
        width: 100% !important;
    }
}

.onboarding-step-content .holidays_wrapper button {
    width: 10rem !important;
}

.onboarding-step-content .onboarding-step-panel .table tr td:not(:first-child) {
    vertical-align: top !important;
}
/********* Onboarding Flow *************/

/********* Employees Table *************/

#appointments-table_wrapper thead th {
    white-space: nowrap;
}

#appointments-table_wrapper {
    overflow-x: auto;
}

table {
    table-layout: fixed;
}

table thead th,
table tbody td {
    text-align: right;
}

.g-2 {
    gap: 0.25rem;
}

.employees_table thead th,
.salon_services_table thead th {
    white-space: nowrap;
    text-align: right !important;
}

.dataTables_length label,
.dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.employees_table tbody td {
    white-space: nowrap;
    text-align: right !important;
}
/********* Employees Table *************/

.error-message,
.backend-error,
#backend-error {
    color: rgb(229 85 85) !important;

    direction: rtl;
    text-align: right;
}

.verifyEmailBody p {
    text-align: right !important;
}

/* Loader button css */

.loading {
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.loading:before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid;
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    animation: 0.8s linear infinite rotate;
}

.loading:before {
    transition-delay: 0.5s;
    transition-duration: 1s;
    opacity: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Notify js css */
.notifyjs-corner .notifyjs-wrapper,
.notifyjs-corner .notifyjs-container {
    height: inherit !important;
    width: inherit !important;
    margin: 3px !important;
    font-size: 14px !important;
}

.notifyjs-bootstrap-base {
    padding: 8px 15px 8px 22px !important;
    border: 1px solid #fbeed5;
}

.notifyjs-bootstrap-error {
    background-position: center left !important;
}

.form-group {
    position: relative;
    margin-top: 0 !important;
}
.form-group .error-message {
    margin-top: 0;
}

input.error + label.error,
.input-group .backend-error {
    color: rgb(229 85 85);
    position: absolute !important;
    font-style: normal;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 120%;
    top: 100%;
}

.backend-error,
#backend-error {
    color: rgb(229 85 85) !important;
    position: absolute;
    font-style: normal;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 22px;
}

label.error {
    color: #f25961 !important;
    font-size: 80% !important;
    margin-top: 0.5rem;
    position: absolute !important;
}

.select2-container .select2-selection {
    border: 2px solid rgb(235, 237, 242) !important;
    height: 40px;
}
.select2-container--focus .select2-selection {
    border-color: #3e93ff !important;
    height: 40px;
}

.select2-container .select2-selection .select2-search__field {
    height: 36px;
    margin-top: 0;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    margin-top: 8px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    margin-top: 7px;
}

/* Calendar */
.fc-timegrid-event {
    height: auto;
    width: auto;
    /* Adjust as needed */
}

.fc-timegrid-event-harness {
    height: auto;
    /* Allows dynamic adjustment */
}

.fc-timegrid-event .fc-event-main {
    padding: 10px;
    /* Adjust padding for better spacing */
}

.signup_card .error {
    text-align: right;
}
