/**
 * Auth Pages Styles (Login & Register)
 */
.auth-wrapper {
    scroll-margin-top: 100px;
    padding: clamp(20px, 4vw, 40px) clamp(10px, 2vw, 20px);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: #efecde;
    padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 30px);
    border: clamp(2px, 0.5vw, 4px) solid #000;
    box-sizing: border-box;
    box-shadow: 6px 6px 0 rgba(13, 32, 49, 0.2);
}

.auth-form {
    margin-top: 16px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .post-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'VJAMAI', sans-serif;
    color: #4f1906;
    font-size: 15px;
}

.auth-form .post-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #12181f;
    background: #fff;
    color: #291107;
    font-family: 'VJAMAI', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .post-input:focus {
    outline: none;
    border-color: #f64149;
    box-shadow: 0 0 0 3px rgba(246, 65, 73, 0.15);
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .post-input {
    padding-right: 42px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    line-height: 1;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-family: 'VJAMAI', sans-serif;
    color: #4f1906;
    gap: 8px;
    font-size: 14px;
    user-select: none;
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-captcha-wrap {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 390px) {
    .auth-captcha-wrap .g-recaptcha {
        transform: scale(0.86);
        transform-origin: center;
    }
}

.auth-submit-btn {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    background: #0d2031;
    color: #fff;
    border: none;
    clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
    font-family: 'VJAMAI', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.auth-submit-btn:hover {
    background: #4f1906;
    transform: translateY(-2px);
}

.auth-switch-text {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
    font-family: 'VJAMAI', sans-serif;
    color: #291107;
    font-size: 14px;
}

.auth-switch-text a {
    display: inline-block;
    margin-top: 5px;
    color: #4f1906;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.auth-switch-text a:hover {
    color: #f64149;
}
