/*=====================================
=            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("../supplier/imgs/background doctowise.png") !important;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*=====================================
=            Global Styles           =
=====================================*/

.top-title {
    color: white !important;
    font-weight: bold !important;
    position: absolute;
    left: 4%;
    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);
}

.bottom-title {
    color: white !important;
    font-weight: bold !important;
    position: absolute;
    left: 4%;
    bottom: 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);
}
.container {
    background-color: var(--main-color);
    border-radius: var(--form-radius);
}
.supplier-image {
    background-image: url("../supplier/imgs/supplier.png") !important;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%; /* Fill column vertically */
    width: 100%; /* Fill column horizontally */
    animation: slideLeftRight 6s ease-in-out infinite;
    border-radius: 30px;
}

/*=====================================
=            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;
}

@keyframes floatX {
    0% {
        transform: translate(-30%, -50%) translateX(0px);
    }
    50% {
        transform: translate(-30%, -50%) translateX(20px);
    }
    100% {
        transform: translate(-30%, -50%) translateX(0px);
    }
}

/*=====================================
=              Titles                =
=====================================*/

.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) {
    .iii {
        display: none;
    }
    .top-title {
        top: 20% !important;
        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);
    }

    #LoginForm {
        padding: 30px 0 !important;
    }

    .supplier-image {
        display: none;
    }

    .container {
        background-image: url("../supplier/imgs/supplier.png") !important;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 50px !important;
        background: none !important;
    }

    body {
        background-image: url("../supplier/imgs/supplier.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;
    }
}
