/* ------------------------------------------------------------------------------ 
Project Name : MD Health Labs
Description : Theme Style Sheet 
Author : Imran Rovan 
Created On : 15 May 2023
--------------------------------------------------------------------------------*/
:root {
    --fs-13: 13px;
    --fs-14: 14px;
    --fs-18: 18px;
    --fs-20: 20px;
    --bc-input: #aaa;
}

:focus-visible {
    outline: 1px solid var(--bs-primary);
    outline-offset: -1px;
}

.txt-primary {
    color: var(--bs-primary);
}

.txt-secondary {
    color: var(--bs-secondary);
}

.fs-13 {
    font-size: var(--fs-13) !important;
}

.fs-14 {
    font-size: var(--fs-14) !important;
}

.fs-18 {
    font-size: var(--fs-18) !important;
}

.fs-20 {
    font-size: var(--fs-13) !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.date {
    background: transparent url(../images/icons/calendar.svg) no-repeat right 8px center !important;
    filter: grayscale(1);
}

.date:focus {
    filter: grayscale(0);
}

select {
    background: transparent url(../images/icons/arrow-down.svg) no-repeat right 8px center !important;
    background-size: auto 12px !important;
    filter: grayscale(0.5);
    -ms-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

h4 {
    font-size: var(--fs-18);
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.login-wrap {
    width: 100%;
    min-height: 100vh;
    background: var(--bs-gradient);
}

.login-wrap header {
    width: 100%;
    height: 60px;
    padding: 12px 0;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap header img {
    height: 50px;
}

.login-wrap main {
    position: relative;
    min-height: 100vh;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-wrap main::before {
    content: '';
    background: url(../images/patterns/pattern_top.svg) no-repeat top right;
    background-size: auto 110%;
    width: 100%;
    height: 70vh;
    z-index: -1;
    opacity: 0.5;
    position: absolute;
    top: 0;
    right: 0;
}

.login-wrap main::after {
    content: '';
    background: url(../images/patterns/pattern_btm.svg) no-repeat left bottom;
    background-size: auto 110%;
    width: 100%;
    height: 70vh;
    z-index: -1;
    opacity: 0.5;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer {
    padding: 15px 0 15px 0;
    width: 100%;
    height: 50px;
}

footer p {
    opacity: 0.8;
    font-size: 13px;
    text-align: center;
    color: #fff;
    margin: 0;
}

.login-card {
    max-width: 550px;
    width: 90%;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
    background-color: #fff;
    margin: 25px 0;
}

.login-card .title {
    text-align: center;
    margin-bottom: 20px;
}

.login-card .title h3 {
    font-size: var(--fs-20);
    font-weight: bold;
    color: #000;
}

.login-card .title p {
    font-size: var(--fs-15);
    color: var(--bs-gray-2);
    padding: 0;
}

.login-card a {
    font-size: var(--fs-14);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input::-webkit-input-placeholder {
    opacity: 0;
}

.form-group input:-ms-input-placeholder {
    color: var(--bs-gray-4);
}

.form-group input::placeholder {
    color: var(--bs-gray-4);
}

.form-group label {
    color: var(--bs-gray-4);
}

.form-group input[type="text"], .form-group input[type="password"], .form-group input[type="date"],
.form-group input[type="email"], .form-group input[type="number"], .form-group input[type="file"], .form-group select {
    width: 100%;
    height: 48px;
    padding-left: 35px;
    border-radius: 8px;
    border: solid 1px var(--bc-input);
    background-color: #fff;
}

.form-group input[type="password"] {
    padding-right: 33px;
}

.form-group label {
    background: #fff;
    padding: 0 4px;
    display: inline;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 31px;
    font-size: var(--fs-14);
    color: #727272;
    transform: translateY(12px);
    transition-duration: 300ms;
}

.form-group input:focus+label, .form-group input:not(:placeholder-shown)+label {
    color: var(--bs-gray-2);
    transform: translateY(-10px);
    font-size: 13px;
}


.form-group select:focus~label, .form-group select:not([value=""]):valid~label {
    color: var(--bs-gray-2);
    transform: translateY(-10px);
    font-size: 13px;
}

.form-group input:focus+label {
    color: var(--bs-primary);
    font-weight: 500;
}

.form-group input[type="submit"], .form-group button {
    width: 100%;
    height: 48px;
    background-color: var(--bs-primary);
    border-radius: 8px;
    border: solid 1px var(--bs-primary);
    color: #fff;
    font-weight: bold;
}

.form-group .icon {
    height: 48px;
    width: 40px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    opacity: 0.5;
    z-index: 2;
}

.form-group .icon img {
    width: 20px;
}

.form-group input:focus-visible+label+.icon {
    filter: grayscale(0);
    opacity: 1;
}

.form-group .show-password {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 47px;
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-group .show-password input[type="checkbox"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 47px;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}

.form-group .show-password label {
    background-color: transparent;
    color: #666!important;
    position: unset;
    height: 45px;
    width: 38px;
    top: inherit;
    right: 0;
    left: unset;
    transform: unset !important;
    line-height: 48px;
    border-radius: 10px;
    font-size: 16px !important;
}

.form-group .show-password label .fa-eye::before {
    content: "\f070";
}

.form-group .show-password input[type="checkbox"]:checked+label .fa-eye::before {
    content: "\f06e";
}

.remember label {
    color: var(--bs-gray-4);
    font-size: var(--fs-14);
    margin-left: 5px;
}

.login-pagination {
    margin: 30px 0 0 0;
}

.login-pagination ul {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.login-pagination ul li a {
    list-style: none;
    background-color: rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 10px;
    border-radius: 40px;
    display: block;
    text-indent: -9999px;
}

.login-pagination ul li.active a {
    background-color: rgba(255, 255, 255, 1);
}

.login-pagination p {
    color: #fff;
    margin: 0;
}

.form-group.pad-2 input, .form-group.pad-2 textarea, .form-group.pad-2 select {
    padding-left: 15px;
}

.form-group.pad-right input, .form-group.pad-right textarea, .form-group.pad-right select {
    padding-left: 15px;
    padding-right: 40px;
}

.form-group.pad-2 label {
    left: 11px;
}

.form-group.pad-right label {
    left: 11px;
}

.form-group .highlights {
    position: absolute;
    bottom: 0;
    right: 10px;
    height: 48px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #afafaf;
}

.checkbox-wrap input[type=checkbox] {
    position: relative;
    border: 2px solid #666;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    line-height: 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 4px;
    -webkit-appearance: none;
    opacity: .5;
}

.checkbox-wrap input[type=checkbox]:hover {
    opacity: 1;
}

.checkbox-wrap input[type=checkbox]:checked {
    background-color: #004aad;
    border-color: #004aad;
    opacity: 1;
}

.checkbox-wrap input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 4px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px 0px 0 0px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

.checkbox-round {
    width: 100%;
    height: 48px;
    padding: 15px 20px;
    border-radius: 8px;
    border: solid 1px #b9b9b9;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.checkbox-round input[type=checkbox] {
    position: relative;
    border: 2px solid #666;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    line-height: 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50px;
    -webkit-appearance: none;
    opacity: .5;
    margin-right: 12px;
}

.checkbox-round input[type=checkbox]:hover {
    opacity: 1;
}

.checkbox-round input[type=checkbox]:checked {
    background-color: #004aad;
    border-color: #004aad;
    opacity: 1;
}

.checkbox-round input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 4px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px 0px 0 0px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

.checkbox-round label, .checkbox-wrap label {
    cursor: pointer;
    display: block;
    width: 100%;
}

.checkbox-round input[type=checkbox]:checked+label, .checkbox-round input[type=checkbox]:checked+label {
    font-weight: 600;
    color: #004aad;
}

.tooltip-login {
    display: none;
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    -webkit-backdrop-filter: blur(34px);
    backdrop-filter: blur(34px);
    background-color: rgba(20, 20, 20, 0.7);
}

.forgot:hover .tooltip-login {
    display: block;
}

.tooltip-login::after {
    content: '';
    width: 0px;
    height: 0px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(20, 20, 20, 0.7);
    position: absolute;
    bottom: -8px;
    right: 47px;
}

.tooltip-login h6 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.tooltip-login p {
    font-size: 13px;
    line-height: 20px;
    color: #fff;
}