* { margin: 0; padding: 0; box-sizing: border-box; }

.auth-page-container {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
.auth-page-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(108, 8, 20, 0.73);
    z-index: 0;
}
.auth-page-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 20px;
}
.auth-page-wrap {
    width: 100%;
    max-width: 1060px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT */
.auth-left {
    flex: 1;
    max-width: 440px;
    color: #fff;
}
.auth-left-brand {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
}
.auth-left h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.auth-left p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 360px;
    margin-bottom: 32px;
}
.auth-left-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auth-left-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.auth-left-feature svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* RIGHT card */
.auth-right {
    flex-shrink: 0;
    width: 480px;
}
.auth-form-box {
    background: rgba(245,243,242,0.97);
    border-radius: 20px;
    padding: 34px 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.32);
}
.auth-form-box h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 4px;
    text-align: center;
}
.auth-form-box .form-subtitle {
    font-size: 0.83rem;
    color: #888;
    margin-bottom: 22px;
    text-align: center;
}

/* Name row */
.auth-name-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.auth-name-row .auth-input-group {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

/* Inputs */
.auth-input-group {
    position: relative;
    margin-bottom: 12px;
}
.auth-input-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}
.auth-input-group input {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid #e0dede;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #1a1a2e;
    background: #f0eeee;
    transition: all 0.22s;
    outline: none;
}




.auth-input-group input::placeholder { color: #b0aaaa; }
.auth-input-group input:focus {
    border-color: #A31D32;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(163,29,50,0.09);
}
.auth-input-group .input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1;
    pointer-events: auto;
}
.auth-input-group .input-icon:hover { color: #A31D32; }

/* Create Account button */
.auth-btn {
    width: 100%;
    padding: 13px;
    background: #7a0d1c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s;
    box-shadow: 0 4px 16px rgba(120,10,25,0.32);
    margin-top: 4px;
}
.auth-btn:hover {
    background: #600a17;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(120,10,25,0.42);
}
.auth-btn:active { transform: translateY(0); }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    font-size: 0.79rem;
    color: #aaa;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

/* Social row */
.auth-social-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.auth-alt-btn {
    flex: 1;
    padding: 10px 12px;
    background: #fff;
    color: #333;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
}
.auth-alt-btn:hover {
    border-color: #ccc;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}
.auth-alt-btn.fb-btn {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}
.auth-alt-btn.fb-btn:hover {
    background: #165FD8;
    border-color: #165FD8;
    color: #fff;
}

/* Footer links */
.auth-footer-text {
    text-align: center;
    font-size: 0.83rem;
    color: #777;
}
.auth-footer-text a {
    color: #A31D32;
    font-weight: 700;
    text-decoration: none;
}
.auth-footer-text a:hover { text-decoration: underline; }
.auth-terms {
    text-align: center;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.6;
}
.auth-terms a { color: #999; text-decoration: underline; }
.auth-terms a:hover { color: #A31D32; }

/* Alerts */
.lf-alert {
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 10px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff2f3;
    color: #A31D32;
    border: 1px solid #fad0d0;
}

/* Validation */
.auth-input-group input.is-invalid {
    border-color: #A31D32 !important;
    box-shadow: 0 0 0 3px rgba(163,29,50,0.1) !important;
}
span.invalid-feedback {
    display: block;
    color: #A31D32;
    font-size: 0.74rem;
    margin-top: 4px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
    .auth-page-wrap { flex-direction: column; align-items: center; gap: 28px; }
    .auth-left { max-width: 100%; text-align: center; }
    .auth-left h2 { font-size: 1.9rem; }
    .auth-left p { margin: 0 auto 24px; }
    .auth-left-features { align-items: center; }
    .auth-right { width: 100%; max-width: 420px; }
    .auth-page-inner { padding: 32px 20px; }
}
@media (max-width: 480px) {
    .auth-form-box { padding: 24px 16px 20px; }
    .auth-left h2 { font-size: 1.6rem; }
    .auth-social-row { flex-direction: column; }
    .auth-name-row { flex-direction: column; gap: 12px; }
}

/* ── intl-tel-input styling ── */
.iti { width: 100%; display: block; }
.iti__tel-input {
    width: 100% !important;
    padding: 11px 15px 11px 95px !important;
    border: 1.5px solid #e5e0e0 !important;
    border-radius: 10px !important;
    background: #faf8f8 !important;
    font-size: 0.9rem !important;
    color: #1a1a2e !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .2s, box-shadow .2s !important;
}
.iti__tel-input:focus {
    border-color: #A31D32 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(163,29,50,0.09) !important;
}
.iti__tel-input::placeholder { color: #b0aaaa !important; }
.iti__flag-container { top: 0; bottom: 0; }
.iti__selected-country {
    border-right: 1.5px solid #e5e0e0;
    padding: 0 10px 0 12px !important;
    border-radius: 10px 0 0 10px;
    background: transparent !important;
}
.iti__selected-country:hover { background: #f5f5f5 !important; }
.iti__dropdown-content {
    border-radius: 12px !important;
    border: 1.5px solid #e0e0e0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    overflow: hidden;
    margin-top: 4px;
}
.iti__search-input {
    padding: 10px 14px !important;
    font-size: 0.83rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    width: 100% !important;
}
.iti__country { padding: 9px 14px !important; font-size: 0.83rem !important; }
.iti__country.iti__highlight { background: #fff5f5 !important; color: #A31D32 !important; }
.iti__dial-code { color: #888 !important; font-size: 0.78rem !important; }
