body.auth-page {
    min-height: 100vh;
    height: auto;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

body.auth-page a {
    color: inherit;
}

body.auth-page button {
    width: 129px;
    height: 55px;
    min-height: 40px;
    border: 1px solid var(--button-color);
    background: transparent;
    border-radius: 30px;
    color: var(--button-color);
    font-size: 18px;
    font-weight: 600;
    font-family: var(--mim-font);
    cursor: pointer;
    transition: 0.3s;
}

body.auth-page button:hover {
    background: var(--button-color);
    color: #fff;
}

.login-container {
    width: 100%;
    max-width: 1100px;
    height: 620px;
    background: var(--color-surface);
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.left-panel {
    width: 35%;
    background:
        linear-gradient(rgba(198, 93, 58, 0.85), rgba(198, 93, 58, 0.85)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    padding: 40px;
}

.overlay h1 {
    font-size: 45px;
    margin-bottom: 20px;
    font-weight: 600;
}

.overlay p {
    font-size: 18px;
    line-height: 1.7;
}

.right-panel {
    width: 65%;
    position: relative;
    padding: 16px;
}

.logo,
.logo1 {
    position: absolute;
    top: 15px;
    font-size: 28px;
}

.logo {
    right: 18px;
}

.logo1 {
    left: 10px;
}

.logo img,
.logo1 img {
    width: 220px;
    height: auto;
    display: block;
}

.logo span {
    color: #444;
}

.logo b {
    color: var(--primary-color);
}

.form-box,
.forget-form {
    width: 420px;
    margin: 48px auto 16px;
    text-align: center;
}

.form-box h1 {
    font-size: 60px;
    margin-bottom: 50px;
}

.form-box input,
.forget-form input {
    width: 100%;
    height: 48px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--color-input-border);
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    color: var(--color-text);
    font-family: var(--mim-font);
}

.auth-form-field {
    margin-bottom: 9px;
    text-align: left;
}

.auth-form-error {
    display: none;
    margin-top: 4px;
    color: var(--color-danger);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.auth-form-field.has-error .auth-form-error {
    display: block;
}

.auth-form-field input.has-error,
.form-box input.has-error {
    border-color: var(--color-danger);
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.options input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--primary-color);
}

.forget-container {
    width: 100%;
    max-width: 999px;
    height: 600px;
    background: var(--color-surface);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.forget-panel {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 16px;
}

.forget-form {
    margin: 48px auto;
}

.forget-form h1 {
    font-size: 50px;
    margin-bottom: 40px;
    font-weight: 700;
}

.forget-form input {
    background: var(--color-bg);
}

.otp-msg {
    display: block;
    text-align: left;
    color: var(--color-danger);
    font-size: 14px;
    margin-top: 5px;
}

.forget-form button {
    margin-top: 35px;
}

@media (max-width: 1100px) {
    .login-container,
    .forget-container {
        height: auto;
        min-height: 0;
    }

    .login-container {
        min-height: 620px;
    }

    .forget-container {
        min-height: 600px;
    }
}

@media (max-width: 900px) {
    body.auth-page {
        align-items: flex-start;
        padding: 16px;
    }

    .login-container {
        flex-direction: column;
        min-height: auto;
    }

    .left-panel {
        width: 100%;
        min-height: 180px;
    }

    .overlay {
        padding: 32px 24px;
    }

    .overlay h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .overlay p {
        font-size: 16px;
    }

    .right-panel {
        width: 100%;
        padding: 16px;
    }

    .logo,
    .logo1 {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 24px;
    }

    .form-box,
    .forget-form {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .form-box h1 {
        font-size: 40px;
        margin-bottom: 32px;
    }

    .forget-container {
        min-height: auto;
    }

    .forget-panel {
        padding: 32px 24px 40px;
    }

    .forget-form h1 {
        font-size: 36px;
        margin-bottom: 28px;
    }
}

@media (max-width: 560px) {
    body.auth-page {
        padding: 12px;
    }

    .login-container,
    .forget-container {
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .left-panel {
        min-height: 140px;
    }

    .overlay {
        padding: 24px 16px;
    }

    .overlay h1 {
        font-size: 26px;
    }

    .overlay p {
        font-size: 14px;
        line-height: 1.5;
    }

    .right-panel,
    .forget-panel {
        padding: 16px;
    }

    .logo img,
    .logo1 img {
        width: 150px;
        height: auto;
    }

    .form-box h1 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .forget-form h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .form-box button,
    .forget-form button {
        width: 100%;
        max-width: none;
    }
}
