html body {
    background-color: #dcdcdc;
    font-family: "Cairo", sans-serif;
    margin: 0;
    height: 100%;
}

/* .full-height-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */

.system-name {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
    color: #1e1e1e;
}

.role-item {
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1e1e1e;
    box-shadow: 0px 2px 5px rgb(35 35 35 / 30%);
}

.role-item:hover {
    background-color: rgba(0, 120, 114, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
    color: #007872;
    border-color: rgba(0, 120, 114, 0.25);
}

.role-item.active {
    background-color: #007872;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: scale(0.98);
    color: #fff;
    border: none;
}

.role-item .role-icon path,
.role-item .role-icon circle,
.role-item .role-icon line {
    stroke: currentColor;
    fill: currentColor;
}

.btn-submit {
    background: linear-gradient(90deg, #00897b 0%, #00695c 100%);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 12px;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    background: linear-gradient(90deg, #009688, #00796b);
    transform: translateY(-2px);
}

.btn-submit:active {
    background: linear-gradient(to right, #00695c, #004d40);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: scale(0.97);
}

.primary-color {
    color: #007872;
}

.black-color {
    color: #1e1e1e;
}

.hover-fade {
    transition: opacity 0.5s;
}

.hover-fade:hover {
    opacity: 0.75;
    /* color: inherit; */
}

.clickable {
    cursor: pointer;
}

.lang-select {
    width: auto;
    padding: 8px 40px 8px 20px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

[dir="ltr"] .lang-select {
    padding: 8px 20px 8px 40px;
    background-position: left 12px center;
    text-align: left;
}

[dir="rtl"] input {
    text-align: right;
}
[dir="ltr"] input {
    text-align: left;
}
[dir="rtl"] input::placeholder {
    direction: rtl;
    text-align: right;
}
[dir="ltr"] input::placeholder {
    direction: ltr;
    text-align: left;
}

/* if i need to make the dropdown card static */
.fixed-width {
    width: 195px;
}

.fixed-width-2 {
    width: 150px;
}

[dir="rtl"] .fixed-width-2 {
    width: 180px;
}

.dropdown-toggle.role-item::after {
    margin-left: auto;
}

[dir="rtl"] .dropdown-toggle.role-item::after {
    margin-left: 0;
    margin-right: auto;
}

.dropdown-menu li a:hover {
    background-color: #e6f2f1;
    color: #007872;
}

@media (max-width: 991px) {
    .fixed-width,
    .fixed-width-2 {
        width: 100% !important;
    }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    display: hide;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #007872;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Register Style */

.secondary-color {
    color: #ab9156;
}

.title {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 24px;
    text-align: left;
    color: #1e1e1e;
}

[dir="rtl"] .title {
    text-align: right;
}

.custom-select {
    border-color: transparent !important;
    /* height: 2.875rem; */
    padding: 0px 12px;
    width: 100%;
    font-size: 1.25rem;
    border-radius: 5px 5px 0px 0px !important;
    box-shadow: 0px 2px 5px rgb(35 35 35 / 30%) !important;
}

/* For Tom Select initialized elements */

/* Fixed height control */
.ts-wrapper.custom-select .ts-control {
    box-shadow: none;
    display: flex;
    padding: 0 12px;
    width: 100%;
}

.caret {
    background-position: right 12px center !important;
    padding-left: 12px !important;
}

[dir="rtl"] .caret {
    background-position: left 12px center !important;
}

.responsive-form {
    width: 100%;
    max-width: 875px;
    padding: 1rem;
}

@media (min-width: 768px) {
    .responsive-form {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 24px;
    }

    .system-name {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.textInputWrapper {
    position: relative;
    --accent-color: #007879;
}

.textInputWrapper:before {
    transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
}

.textInputWrapper:before,
.textInputWrapper:after {
    content: "";
    left: 0;
    right: 0;
    position: absolute;
    pointer-events: none;
    bottom: -1px;
    z-index: 4;
    width: 100%;
}

.textInputWrapper:focus-within:before {
    border-bottom: 1px solid var(--accent-color);
}

.textInputWrapper:before {
    transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
}

.textInputWrapper:focus-within:before {
    border-bottom: 1px solid var(--accent-color);
    transform: scaleX(1);
}

.textInputWrapper:focus-within:after {
    border-bottom: 2px solid var(--accent-color);
    transform: scaleX(1);
}

.textInputWrapper:after {
    content: "";
    transform: scaleX(0);
    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    will-change: transform;
    border-bottom: 2px solid var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.textInput::placeholder {
    transition: opacity 250ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    opacity: 1;
    user-select: none;
    color: rgba(33, 37, 41, 0.582);
}

.textInputWrapper .textInput {
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0px 2px 5px rgb(35 35 35 / 30%);
    height: 3rem;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 200ms;
    transition-property: background-color;
    color: #212529;
    padding: 12px;
    width: 100%;
    border-left: none;
    border-bottom: none;
    border-right: none;
    border-color: transparent;
    font-size: 1.25rem;
}

.textInputWrapper .textInput:focus,
.textInputWrapper .textInput:active {
    outline: none;
}

.textInputWrapper:focus-within .textInput,
.textInputWrapper .textInput:focus,
.textInputWrapper .textInput:active {
    background-color: #fff;
}

.textInputWrapper:focus-within .textInput::placeholder {
    opacity: 0;
}
