:root {
  --primary-theme: #001d3d;
  --primary-clr: #3d52a0;
  --secondary-clr: #7091e6;
  --white-clr: #fff;
  --gray-clr: #8697c4;
  --light-gray-clr: #adbbda;
  --light-white-clr: #ede8f5;
  --dark-clr: #00173c;
  --black-clr: #000000;
  --yellow-clr: #f8a501;
  --orange-clr: #ff7c69;
}

.login_page {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.login_page form {
    /* position: relative; */
    filter: drop-shadow(0 0 2px #000000);
    border-radius: 5px;
    width: 700px;
    /* height: 420px; */
    background-color: #ffffff;
    padding: 40px;
}

.login_page form .form-group {
    position: relative;
}
.login_page form .form-group .error {
    position: absolute;
    bottom: -20px;
}


.login_page form img {
    position: absolute;
    height: 20px;
    top: 30px;
    right: 20px;
    cursor: pointer;
}

.login_page form input {
    outline: 0;
    background: #f2f2f2;
    border-radius: 4px;
    width: 100%;
    border: 0;
    margin: 15px 0;
    padding: 15px;
    font-size: 14px;
}

.login_page form input:focus {
    box-shadow: 0 0 5px 0 rgba(106, 98, 210);
}

.login_page .error {
    /* border: 1px solid red; */
    color: red;
    font-size: 12px;
}

.login_page form button {
    outline: 0;
    background: var(--dark-clr);
    width: 100%;
    border: 1px solid var(--dark-clr);
    margin-top: 10px;
    border-radius: 3px;
    padding: 15px;
    color: #ffffff;
    font-size: 15px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    font-weight: 600;
}

.login_page form button:hover,
.login_page form button:active,
.login_page form button:focus {
    background: var(--white-clr);
    color: var(--dark-clr);
}

.login_page .message {
    margin: 15px 0;
}

.login_page form .message a {
    font-size: 14px;
    color: #6a62d2;
    text-decoration: none;
}

.login_page form .login_redirection {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.login_redirection a {
    color: #6a62d2;
    margin-left: 4px;
}

/* Toast notification styling */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    transform: translateX(-50%);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}