/* ==========================================================
   Roopkathaa.com — LOGIN / REGISTER / RESET PASSWORD
   Uses the same palette, fonts and button styling as index.css
   (loaded alongside this file) so the auth screens look like
   part of the same site, not a bolted-on form.
========================================================== */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px 16px;
}

.auth-wrap {
    width: 100%;
    max-width: 440px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-brand .logo {
    justify-content: center;
    font-size: 30px;
}

.auth-tagline {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #72686c;
    margin-top: 8px;
}

.auth-card {
    background: #fff;
    border: 1px solid #e7e5e3;
    padding: 36px 32px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e7e5e3;
    margin-bottom: 26px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #72686c;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.auth-tab.active {
    color: #32171e;
    border-bottom-color: #a8824f;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form[hidden] {
    display: none;
}

.auth-form h2 {
    font-family: "DM Serif Display", serif;
    font-weight: normal;
    font-size: 26px;
    margin-bottom: 18px;
}

.auth-helptext {
    font-size: 13px;
    color: #62595c;
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #62595c;
    margin-bottom: 7px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"] {
    width: 100%;
    border: 1px solid #e7e5e3;
    background: #fff;
    padding: 13px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #32171e;
}

.form-field input:focus {
    outline: none;
    border-color: #a8824f;
}

.form-field input.input-error {
    border-color: #c0392b;
}

.field-error {
    display: block;
    font-size: 11.5px;
    color: #c0392b;
    margin-top: 6px;
    min-height: 14px;
}

.field-hint {
    display: block;
    font-size: 11px;
    color: #72686c;
    margin-top: 6px;
}

.password-input {
    position: relative;
    display: flex;
}

.password-input input {
    flex: 1;
    padding-right: 60px !important;
}

.toggle-pw {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 14px;
    background: none;
    border: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #72686c;
}

.toggle-pw:hover {
    color: #a8824f;
}

.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 8px;
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #62595c;
}

.remember-check input {
    accent-color: #a8824f;
}

.link-btn {
    background: none;
    border: none;
    font-size: 12.5px;
    color: #a8824f;
    font-weight: 600;
    text-decoration: underline;
    padding: 0;
}

.auth-submit {
    width: 100%;
    background: #a8824f;
    color: #fff;
    border-color: #a8824f;
    padding: 15px 30px;
    margin-bottom: 8px;
}

.auth-submit:hover {
    background: #eb9184;
    border-color: #eb9184;
}

.auth-submit:disabled {
    opacity: .6;
    cursor: default;
    transform: none !important;
}

.auth-switch {
    text-align: center;
    font-size: 13px;
    color: #62595c;
    margin-top: 6px;
}

.auth-alert {
    background: #fbeceA;
    border: 1px solid #f2c4bb;
    color: #a83226;
    font-size: 12.5px;
    padding: 11px 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.auth-alert.success {
    background: #eaf6ee;
    border-color: #bfe4cc;
    color: #1a8a4a;
}

.auth-alert[hidden] {
    display: none;
}

.reset-link-box {
    background: #ffffff;
    border: 1px dashed #a8824f;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 12.5px;
    color: #62595c;
    line-height: 1.6;
    word-break: break-all;
}

.reset-link-box[hidden] {
    display: none;
}

.reset-link-box a {
    color: #a8824f;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
    }
}
