@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--googe-font), sans-serif;
    transition: all 0.2s;
    cursor: default !important;
}

.error-alert {
    color: red;
    font-size: 0.9em;
    margin-top: 0.5em;
}
.alert {
    display: none;
    padding: 10px;
    margin-top: 10px;
}
.alert-success {
    color: green;
}
.alert-error {
    color: red;
}
#loginBtn {
    transition: background-color 0.3s ease;
}

#loginBtn:disabled {
    background-color: transparent;
    border: 1px solid #058aff;
    cursor: not-allowed;
}

/* Style for success button */
.btn-success {
    background-color: green;
    color: white;
}

/* Loading spinner icon */
.spinner {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#loginBtn:active {
    background-color: #058affcd;
    border: 1px solid transparent;
    color: #ffffff;
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    font-size: 24px;
    color: green;
    animation: fadeIn 0.5s ease-in-out;
}

.tick-icon {
    font-size: 50px;
    background-color: rgba(97, 255, 97, 0.813);
    color: green;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(97, 255, 97, 0.813);
    margin-bottom: 20px;
    animation: tickAnimation 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes tickAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


:root {
    --main-theme: #fff;
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --theme-colors: #F4511E;
    --googe-font: "Poppins", sans-serif;
    --f-bottom: #141416;
    --text-color: #000;
    --text-50: #00000089;
    --border-50: #00000054;
    --nav-icon: #0000001b;
    --shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    --border-color: none;
    /* No border in light mode */
}


#alert-text {
    position: fixed;
    z-index: 5;
    max-width: 60%;
    top: -100px;
    background: none;
    left: 50%;
    backdrop-filter: blur(20px);
    filter: brightness(140%);
    border-radius: 50px;
    transition: all 0.2s;
    transform: translate(-50%, -50%);
}

::placeholder {
    color: #000;
}

a.logo1 .icon {
    margin: 10px;
    width: 40px;
    height: 40px;
    background-color: #058affcd;
    border-radius: 50%;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
}

a.logo1 {
    text-decoration: none;
}

.logo1 span.icon {
    font-size: 20px !important;
}


.input-wrapper {
    position: relative;
}

/* .password {
    padding-right: 30px;
} */

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    /* Adjust the right distance from the input field */
    transform: translateY(-50%);
    cursor: pointer !important;
}

.toggle-password i {
    cursor: pointer;
    color: gray;
}


a.logo-sm {
    font-size: 50px !important;
}

h3.login {
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 1px;
}

a.logo {
    display: block !important;
    font-size: 10rem !important;
    text-decoration: none;
    letter-spacing: 1px;
    color: #000;
    font-weight: blod;
    transition: all 0.7s;
}

a.logo h4 {
    font-size: 27px;
}

input {
    border: none;
    font-size: 18px;
    width: 300px;
    border-radius: 0px;
    box-shadow: 0 1px 0 rgba(128, 128, 128, 0.409) !important;
    outline: none;
}

input:hover {
    box-shadow: 0 1px 0 gray, 0 2px 0 rgba(128, 128, 128, 0.267) !important;
}

input:active,
input:focus {
    box-shadow: 0 1px 0 #058aff !important;
}

a.forgot-link {
    color: rgba(0, 0, 0);
    font-size: 14px;
}

a.forgot-link:hover,
a.forgot-link:active {
    opacity: 0.8;
}

button[type="submit"] {
    border: 1px solid #1184ff4a;
    border-radius: 30px;
    margin-top: 50px !important;
    background-color: #fff;
    color: #058aff;
    min-width: 120px !important;
    transition: all 0.7s;
}

button[type="submit"]:hover {
    border: 1px solid #1184ff42;
    background-color: #058aff;
    color: #fff;
}

button[type="submit"]:focus {
    border: 1px solid #1184ff42;
    background-color: #058aff;
    color: #fff;
}

span.hr {
    width: 1px;
    background-color: rgba(128, 128, 128, 0.329);
    height: 320px;
}

span.or-text {
    position: relative;
    text-align: center;
    top: 145px;
    left: -25px;
    width: 50px;
    height: 25px;
    background-color: #fff;
}

button.btn.google img {
    width: 43.5px;
    height: 43.5px;
    border-radius: 5px 0 0 5px;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 1px 1px 1px 1px #000;
}

button.btn.facebook img {
    width: 44px;
    height: 44px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px 0 0 5px;
}

.btn.apple img {
    width: 43px;
    height: 43px;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    border-right: 1px solid black;
}

button.btn.social-media {
    border: 1px solid gray;
    min-width: 300px;
    display: flex;
    align-items: center;
    height: 45px;
    margin-bottom: 20px;
}

.google-link,
.facebook-link,
.apple-link {
    display: flex;
    align-items: center;
}

.btn.social-media.google span,
.btn.social-media.facebook span,
.btn.social-media.apple span {
    flex: 1;
    text-align: center;
}

button.btn.social-media {
    color: #fff;
}

button.btn.social-media.google {
    background-color: #1A73E8;
    border: 1px solid #1A73E8;
}

button.btn.social-media.facebook {
    background-color: #3B5998;
    border: 1px solid #3B5998;
}

button.btn.social-media.apple {
    background-color: #fff;
    color: #000;
    border: 1px solid black;
}

.bottom-policy-footer p {
    color: gray;
}

span.underline {
    text-decoration: underline;
    color: gray;
}

span.underline:hover {
    color: #000000;
    cursor: pointer;
}

.bottom-policy-footer {
    font-size: 12px;
    margin-top: 60px;
}

#header-login {
    animation: ani 0.4s ease-out forwards;
}

@keyframes ani {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(-10px);
    }
}


@media (max-width:768px) {

    a.logo {
        position: fixed;
        top: 20px;
        letter-spacing: 1px;
        left: 30px;
    }

    /* h3.login {
        font-size: 25px;
        margin-top: 0rem;
        font-weight: 500;
        letter-spacing: 0px;
    } */
}


/* responsive style */

@media screen and (max-width:360px){
    input {
        width: 270px;
    }
}
