.login-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 120px 8% 40px 8%;
    align-items: center;
}

.welcome-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-title {
    font-family: var(--font-circe);
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -2px;
    font-size: 150px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.welcome-divider {
    width: 120px;
    height: 6px;
    background-color: var(--white);
    margin-bottom: 60px;
}

.welcome-text {
    max-width: 750px;
    color: var(--white);
    font-family: var(--circular-font);
    font-size: 23px;
    font-style: normal;
    font-weight: 350;
    line-height: normal;
}

.welcome-text p {
    margin-bottom: 20px;
}

.form-section {
    width: 520px;
    height: 640px;
    background: rgba(140, 136, 165, 0.4);
    padding: 20px 40px;
}

.login-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.login-with-title {
    font-family: var(--font-circe);
    margin-bottom: 5px;
    text-align: center;
    color: var(--white);
    font-size: 28px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.15);
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Separator styling */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
}

.separator-text {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    color: var(--white);
    font-family: var(--font-circe);
    font-size: 18px;
    font-weight: 350;
}

.separator-text::before,
.separator-text::after {
    content: "";
    width: 63px;
    height: 2.5px;
    background-color: var(--white);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    position: relative;
    align-items: flex-start;
    width: 400px;
}

.form-label {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    text-align: left;
    padding-left: 15px;
}

.form-input {
    width: 400px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 30px;
    padding: 0 25px;
    font-size: 18px;
    color: var(--white);
    outline: none;
    transition: background 0.3s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper .form-input {
    width: 100%;
    padding-right: 50px;
    /* Space for the eye icon */
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: 0.3s;
}

.toggle-password:hover {
    opacity: 1;
}

.toggle-password img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    /* Assuming white theme or similar */
}

#password::placeholder {
    font-size: 24px;
    font-family: monospace;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.4);
}

#password {
    font-size: 24px;
    font-family: monospace;
    letter-spacing: 6px;
    line-height: 1.2;
}

.forgot-link {
    color: rgba(255, 255, 255, 0.8);
    align-self: flex-start;
    padding-left: 15px;
    font-family: var(--font-circe);
    font-size: 20px;
    font-style: normal;
    font-weight: 350;
    line-height: normal;
    margin-top: 5px;
}

.forgot-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.login-submit {
    width: 400px;
    height: 48px;
    background: linear-gradient(90deg, #DAEBED 0%, #C5D5D6 29.33%, #FEFEFE 44.71%, #B5C3C5 100%);
    border: none;
    border-radius: 31px;
    font-size: 28px;
    font-family: var(--font-circe);
    font-weight: 800;
    color: #3E3560;
    cursor: pointer;
    text-transform: lowercase;
    margin-top: 8px;
    transition: 0.3s;
}

.login-submit:hover {
    transform: translateY(-2px);
}

.signup-prompt {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 20px;
    font-family: var(--font-circe);
    font-size: 24px;
    font-style: normal;
    font-weight: 350;
    line-height: normal;
}

.signup-link {
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
}

.signup-link:hover,
.terms-link:hover {
    text-decoration: underline;
}

@media (min-width: 1201px) {
    html,
    body {
        overflow: hidden;
    }
}

@media (max-width: 1400px) {
    .welcome-title {
        font-size: 120px;
    }

    .welcome-text {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .login-container {
        flex-direction: column;
        padding-top: 150px;
        gap: 60px;
        align-items: center;
    }

    .welcome-section {
        text-align: center;
        align-items: center;
    }

    .welcome-divider {
        margin: 0 auto 40px auto;
    }

    .form-section {
        width: 100%;
        max-width: 600px;
        align-self: center;
    }

    .form-group,
    .form-input,
    .login-submit{
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 1024px) {
    .login-container {
        height: auto;
        min-height: 100vh;
        padding: 120px 5% 40px 5%;
        gap: 0px;
    }

    .welcome-title {
        font-size: 100px;
    }

    .welcome-text {
        font-size: 20px;
        max-width: 100%;
    }

    #password,
    #password::placeholder {
        font-size: 25px;
    }

    .form-section {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        height: auto;
    }

    .form-group,
    .form-input,
    .login-submit{
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding-top: 100px;
        gap: 0px;
        align-items: center;
    }

    .welcome-section {
        text-align: center;
        align-items: center;
    }

    .welcome-divider {
        margin: 0 auto 30px auto;
    }

    .welcome-title {
        font-size: 72px;
        letter-spacing: -1px;
    }

    .welcome-text {
        font-size: 18px;
    }

    .form-section {
        width: 100%;
        max-width: 500px;
        padding: 40px 25px;
        height: auto;
    }

    .form-group,
    .form-input,
    .login-submit{
        width: 100%;
        max-width: 400px;
    }

    .login-form {
        width: 100%;
    }

    .form-label {
        font-size: 24px;
    }

    .login-submit {
        font-size: 28px;
        height: 50px;
    }

    .forgot-link {
        font-size: 16px;
    }

    .separator-text::before,
    .separator-text::after {
        width: 40px;
    }
}

@media screen and (max-width: 480px) {
    .login-container {
        padding: 80px 15px 40px 15px;
        gap: 0;
    }

    .welcome-title {
        font-size: 52px;
    }

    .welcome-divider {
        width: 80px;
        height: 4px;
        margin-bottom: 20px;
    }

    .welcome-text {
        font-size: 16px;
    }

    .login-with-title {
        font-size: 24px;
    }

    .form-label {
        font-size: 18px;
        padding-left: 10px;
    }

    .form-input {
        height: 44px;
        padding: 0 20px;
    }

    .forgot-link {
        font-size: 13px;
    }

    .login-submit {
        font-size: 22px;
        height: 44px;
    }

    .signup-prompt {
        font-size: 14px;
    }
}