/*----------------------------------------*/
/*  Auth pages (login / signup)
/*----------------------------------------*/
/*  To reuse this on a different site/theme,
    change ONLY the values below — nothing
    else in this file needs to be touched. */
:root {
    --auth-accent: #ff7800;        /* primary brand/accent color */
    --auth-accent-hover: #ff7800;  /* accent, darkened for hover states */
    --auth-dark-1: #1a1d29;        /* brand panel gradient start / heading text */
    --auth-dark-2: #2b0f10;        /* brand panel gradient middle stop */
}
.auth-page {
    background: #f6f7f9;
    padding: 60px 20px 80px;
}
.auth-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(20, 20, 30, 0.12);
    overflow: hidden;
}
.auth-container-wide {
    max-width: 1100px;
}
.auth-brand {
    flex: 1 1 320px;
    min-width: 280px;
    background: linear-gradient(160deg, var(--auth-dark-1) 0%, var(--auth-dark-2) 60%, var(--auth-accent) 140%);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-brand-logo {
    max-width: 130px;
    margin-bottom: 30px;
}
.auth-brand h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}
.auth-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 0;
}
.auth-switch {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
.auth-switch a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
}
.auth-form-panel {
    flex: 1 1 380px;
    min-width: 300px;
    padding: 50px 45px;
}
.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--auth-dark-1);
    margin-bottom: 6px;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}
.auth-subtitle {
    color: #777;
    font-size: 14px;
    margin-bottom: 28px;
}
.auth-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.auth-alert i {
    margin-top: 2px;
}
.auth-alert-error {
    background: #fdeceb;
    color: #ff7800;
    border: 1px solid #f6c6c2;
}
.auth-error-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.auth-error-list li {
    margin-bottom: 4px;
}
.auth-form {
    margin-top: 6px;
}
.auth-field {
    margin-bottom: 20px;
}
.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 7px;
}
.auth-input-wrap {
    position: relative;
}
.auth-input-wrap i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #b0b3ba;
    font-size: 15px;
}
.auth-input,
input.auth-input,
select.auth-input {
    width: 100%;
    height: 48px;
    border: 1px solid #e3e4e8;
    background: #f9f9fb;
    border-radius: 8px;
    padding: 0 16px 0 44px;
    font-size: 14px;
    color: var(--auth-dark-1);
    transition: border-color .2s ease, background .2s ease;
    box-sizing: border-box;
}
.auth-field label + .auth-input,
.auth-field label + input.auth-input:not(.auth-input-wrap input) {
    padding-left: 16px;
}
.auth-input-wrap .auth-input {
    padding-left: 44px;
}
.auth-input:focus {
    outline: none;
    border-color: var(--auth-accent);
    background: #fff;
}
.auth-input::placeholder {
    color: #a7a9b0;
}
.auth-checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    margin-bottom: 22px;
    line-height: 20px;
}
.auth-checkbox-field input {
    margin-top: 3px;
}
.auth-checkbox-field a {
    color: var(--auth-accent);
    text-decoration: underline;
}
.auth-captcha {
    display: flex;
    align-items: center;
    gap: 12px;
}
.auth-captcha-img {
    border-radius: 6px;
    border: 1px solid #e3e4e8;
}
.auth-captcha .auth-input {
    padding-left: 16px;
}
.auth-btn-primary {
    width: 100%;
    height: 50px;
    background: var(--auth-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
}
.auth-btn-primary:hover {
    background: var(--auth-accent-hover);
}
.auth-btn-primary:active {
    transform: scale(0.99);
}
.auth-links {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
}
.auth-links a {
    color: #777;
    text-decoration: underline;
}
.auth-links a:hover {
    color: var(--auth-accent);
}
.auth-footer-link {
    margin-top: 24px;
    text-align: center;
}
.auth-footer-link a {
    color: #777;
    font-size: 13px;
}
.auth-footer-link a:hover {
    color: var(--auth-accent);
}
.auth-note {
    font-size: 12px;
    color: #888;
    margin: -8px 0 18px;
}
.auth-note td, .auth-note-block {
    display: block;
}

@media (max-width: 767px) {
    .auth-page {
        padding: 30px 14px 50px;
    }
    .auth-brand,
    .auth-form-panel {
        padding: 34px 26px;
    }
}
