/*=====================================
=            Root Variables           =
=====================================*/
:root {
    --form-radius: 50px;
    --input-radius: 20px;
}

/*=====================================
=            Base Styles             =
=====================================*/
html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-image: url("../doctor/imgs/background doctowise.png") !important;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*=====================================
=            Global Styles           =
=====================================*/
.container {
    background-color: var(--main-color);
    border-radius: var(--form-radius);
}

.circle_shadow {
    background-color: var(--main-color);
    width: 486px;
    height: 403px;
    border-radius: 50%;
    box-shadow: -2px -20px 20px 115px rgb(0 0 0 / 31%),
        -20px -2px 2px 20px rgba(46, 46, 46, 0),
        1px 1px 20px rgb(255 255 255 / 90%), -5px -6px 20px rgba(6, 6, 6, 0.9),
        0px 1px 5px rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 22%;
    left: 23%;
}

/*=====================================
=            Login Form              =
=====================================*/
#LoginForm {
    background-color: #fff;
    border-radius: var(--form-radius);
    margin: 10px 0 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px;
    animation: fadeSlideUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}

#LoginForm h1 {
    padding-bottom: 20px;
}

#LoginForm h1,
.divider,
.bi {
    color: var(--main-color) !important;
    font-weight: bold !important;
}

#LoginForm input,
#LoginForm button {
    border-radius: var(--input-radius);
}

/*=====================================
=            Login Column            =
=====================================*/
.main-login-div {
    width: 100%;
    max-width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 57px 0;
}

/*=====================================
=              Inputs                =
=====================================*/
input::placeholder {
    color: gray !important;
    opacity: 1;
    font-style: italic;
}

#email,
#password {
    background: rgb(222, 222, 222) !important;
}

.form-control {
    padding-left: 35px;
}

.form-control-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
}

.bi-eye-slash-fill {
    color: gray !important;
}

.email-div {
    margin-top: 50px !important;
}

/*=====================================
=              Buttons               =
=====================================*/
button {
    font-weight: bold !important;
}

.login {
    background-color: grey !important;
    border: none !important;
    transition: background 0.3s, transform 0.2s;
}

.login:hover {
    background-color: var(--main-color) !important;
    transform: translateY(-2px) scale(1.03);
}

.register {
    background-color: var(--main-color) !important;
    color: #fff !important;
    border: none !important;
    width: 100%;
    max-width: 100px;
    border-radius: 10px !important;
}

.register:hover {
    background-color: grey !important;
}

.register-btn-div {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*=====================================
=              Divider               =
=====================================*/
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--main-color);
    opacity: 0;
    animation: fadeSlideUp 1s 0.8s forwards;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 4.5px solid var(--main-color);
}

.divider:not(:empty)::before {
    margin-right: 0.75em;
}

.divider:not(:empty)::after {
    margin-left: 0.75em;
}

/*=====================================
=              Links                 =
=====================================*/
.forget-pass,
.remember-me {
    text-decoration: none;
    color: grey;
    font-size: 14px;
    font-style: italic;
}

/*=====================================
=          Custom Checkbox           =
=====================================*/
.form-check-input {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1.5px solid var(--main-color);
    background-color: white;
    cursor: pointer;
    box-shadow: none;
    margin-top: 8px;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(35, 113, 121, 0.25);
}

/*=====================================
=            Doctor Column           =
=====================================*/
.login-col {
    z-index: 10000;
}

.doctor-col {
    position: relative;
    overflow: visible;
    min-height: 500px;
    animation: fadeSlideUp 1.2s 0.2s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
@keyframes floatX {
    0% {
        transform: translate(-30%, -50%) translateX(0px);
    }
    50% {
        transform: translate(-30%, -50%) translateX(20px);
    }
    100% {
        transform: translate(-30%, -50%) translateX(0px);
    }
}

.doctor-image {
    position: absolute;
    background-image: url("../doctor/imgs/doctor.png");

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 627px;
    top: 49%;
    left: 12%;
    width: 1292px;
    transform: translate(-30%, -50%);
    animation: floatX 5s ease-in-out infinite;
}

/*=====================================
=              Titles                =
=====================================*/
.title {
    color: white;
    font-weight: bold;
    padding: 15px;
}

.bottom-title {
    z-index: 10000;
    position: absolute;
    bottom: 5%;
    left: 5%;
    text-shadow: 0px 20px 20px rgb(0 0 0 / 90%),
        -3px -5px 2px rgb(46 46 46 / 0%), 1px 1px 20px rgba(0, 0, 0, 0.9),
        -5px -6px 20px rgba(6, 6, 6, 0.9), 0px 1px 5px rgba(0, 0, 0, 0.8);
}

.login-as {
    opacity: 0;
    animation: fadeSlideUp 1s 0.4s forwards;
}

/*=====================================
=          Input Animations          =
=====================================*/
#LoginForm .mb-3.position-relative {
    opacity: 0;
    animation: fadeSlideUp 1s 0.6s forwards;
}

#LoginForm button {
    opacity: 0;
    animation: fadeSlideUp 1s 1s forwards;
}

/*=====================================
=            Animations              =
=====================================*/
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(-30%, -50%) translateY(0);
    }
    50% {
        transform: translate(-30%, -50%) translateY(-20px);
    }
    100% {
        transform: translate(-30%, -50%) translateY(0);
    }
}

/*=====================================
=         Responsive Styles          =
=====================================*/
@media (max-width: 1000px) {
    #LoginForm {
        padding: 30px 0 !important;
    }

    .doctor-col {
        display: none !important;
    }

    .doctor-image {
        display: none !important;
    }

    .container {
        background-image: url("../doctor/imgs/doctor.png");

        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 50px !important;
        background: none !important;
    }

    body {
        background-image: url("../doctor/imgs/doctor.png") !important;

        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 100vh;
        background-color: var(--main-color);
    }

    .main-login-div {
        padding: 15px;
    }

    .forget-pass,
    .remember-me {
        font-size: 12px;
    }

    .forget-pass {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .title {
        display: none;
        position: absolute;
    }

    .top-title {
        top: 20% !important;
  
    }

    .bottom-title {
        bottom: 5% !important;
    }

}
