.auth-wrapper {
    display: flex;
    min-height: 100vh;
}

.auth-image {
    position: relative;
    flex: 1 1 55%;
    background: linear-gradient(160deg, #3d1f0e, #7a3e1d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #fff;
    text-align: center;
}

.auth-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.auth-image-text {
    margin-top: 24px;
}

.auth-image-text h2 {
    font-size: 30px;
    margin-bottom: 6px;
}

.auth-image-text p {
    opacity: 0.85;
}

.auth-form-wrap {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--surface);
}

.auth-form {
    width: 100%;
    max-width: 380px;
}

.auth-form h1 {
    font-size: 28px;
    color: var(--primary);
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 64px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.alert {
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-danger {
    background: var(--danger-bg);
    color: var(--danger);
}

@media (max-width: 800px) {
    .auth-image {
        display: none;
    }

    .auth-form-wrap {
        flex-basis: 100%;
    }
}
