* {
    box-sizing: border-box;
    margin: 0;
}

body {
    background-color: #f0eff6;
    font-family: Muli;
    display: flex;
    text-align: center;
    align-items: center;
   /* height: 100vh;*/
}

.container {
    display: none;
    background-color: #f4f6fa;
   /* margin-top: -22%;*/
    height: 77rem;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
}

.theForm {
    display: flex;
    justify-content: space-between;
}

.left-div {
    display: none;
    background-size: 58rem;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 58.5rem;
    height: 77rem;
    border-radius: 15px;
}

.left-div-txt {
    text-align: left;
    padding: 3rem;
}

.left-div-txt>h4 {
    display: none;
    font-size: 32px;
    font-weight: 700;
}

.left-div-txt>p {
    display: none;
    width: 38rem;
    font-size: 12px;
    color: #717171;
}

.right-div {
    width: 58rem;
    height: 77rem;
    border-radius: 2px 10px 10px 2px;
    position: relative;
}

.logo {
    display: none;
    text-align: left;
    padding: 3rem;
    padding-left: 33px;
}

.logo>img {
    max-width: 60px;
}

.top-div {
    display: none;
    position: absolute;
    right: 40px;
    top: 53px;
    font-size: 11px;
    text-align: right;
}

.top-div>p>a,
.top-div>a {
    color: #006aff;
    text-decoration: none;
}

.form-div {
    display: none;
    padding-top: 6rem;
}

.form-txt>h5 {
    font-size: 25px;
    font-weight: 700;
}

.form-txt>p {
    font-size: 12px;
    margin-bottom: 32px;
    margin-top: 14px;
}

.form-err__succ-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-err__succ-div>.err {
    display: none;
    background-color: red;
    width: 27rem;
    padding: 4px;
    text-align: left;
    margin-bottom: 10px;
    border-radius: 5px;
}

.form-err__succ-div>.err>small {
    display: none;
    padding-left: 13px;
}

.success-div {
    background-color: #11b100;
    display: none;
    width: 27rem;
    font-size: 12px;
    text-align: left;
    padding: 7px;
    margin-bottom: 10px;
    color: white;
    border-radius: 5px;
}

.success-div>p {
    margin: 0;
}

.success-div>p>a {
    text-decoration: none;
    color: #2b2829;
}


.form-group {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.password-field-wrapper {
    position: relative;
    display: inline-block;
    width: 27rem;
    margin: 0 auto 15px auto;
}

.form-group > input,
.password-field-wrapper > input {
    width: 27rem !important;
    min-width: 27rem !important;
    max-width: 27rem !important;
    height: 44px;
    font-size: 14px;
    padding-left: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box !important;
    display: block;
    margin: 0 auto;
}

.password-field-wrapper > input {
    padding-right: 10px !important;
    width: 100% !important;
}

/* 5. Icon positioning - Outside to the right */
.password-toggle-icon {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    z-index: 10;
}

.form-group>button {
    background-color: #2b2829;
    width: 27rem;
    height: 37px;
    font-size: 11px;
    border: none;
    border-radius: 5px;
    color: white;
}

.remember-forgot-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 27rem;
    margin: 15px auto;
    flex-wrap: wrap;
}

.remember-me-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.remember-me-checkbox label {
    font-size: 14px;
    color: #464645;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

#forgot-pass {
    font-size: 14px;
    color: #006aff;
    text-decoration: none;
    cursor: pointer;
}

#forgot-pass:hover {
    text-decoration: underline;
}

.or-line {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    padding-top: 2rem;
}

.or-line>p {
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.or-line>hr {
    width: 66px;
    border-color: #d1d1d1;
}

.social-icons-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons-div>a {
    text-decoration: none;
    color: black;
}

.social-icons-div>a>div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 51px;
    font-size: 27px;
    margin: 6px;
    border: 1px solid #cecece;
    border-radius: 6px;
    cursor: pointer;
    transition: 1s;
}

.social-icons-div>a>div:hover {
    box-shadow: 0px 0px 18px -4px #a6a6a6;
    transform: scale(1.1);
}

#social-icon1,
#social-icon2,
#social-icon3 {
    display: none;
}

.footer {
    position: absolute;
    bottom: 1rem;
    right: 41px;
    font-size: 13px;
    color: #949494;
}

/* Loading Spinner Styles */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-container .toast {
    pointer-events: auto;
}

.toast {
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInDown 0.3s ease-out;
    font-family: Arial, sans-serif;
    font-size: 14px;
    position: relative;
    backdrop-filter: blur(10px);
}

.toast.toast-error {
    background-color: #fff;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.toast.toast-warning {
    background-color: #fff;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.toast.toast-info {
    background-color: #fff;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.toast.toast-success {
    background-color: #fff;
    border-left: 4px solid #28a745;
    color: #155724;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-warning .toast-icon {
    color: #ffc107;
}

.toast-info .toast-icon {
    color: #17a2b8;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-message {
    flex: 1;
    line-height: 1.5;
}

.toast-close {
    cursor: pointer;
    font-size: 20px;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100px);
        opacity: 0;
    }
}

.toast.toast-hiding {
    animation: slideOutUp 0.3s ease-out forwards;
}

@media only screen and (max-width: 1024px) {
    body {
        height: auto;
    }
    .container {
        width: 100%;
        height: 100%;
        border-radius: 0px;
    }
    .theForm {
        display: block;
    }
    .left-div {
        background-position: top;
        width: 100%;
        height: 28rem;
        margin-left: auto;
        margin-top: auto;
        border-radius: 0px;
    }
    .left-div-txt {
        display: none;
    }
    .right-div {
        width: 100%;
        height: 100vh;
        border-radius: 0px;
    }
    #forgot-pass {
        display: block;
    }
}

@media only screen and (max-width: 280px) {
    .left-div-txt>p {
        width: 100%;
    }
    .logo {
        padding-left: 0px;
    }
}