body { background: #f7f8fc !important; }
.auth-page-container {
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.auth-page-wrap {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* ── LEFT PANEL ── */
.auth-left {
    width: 45%;
    background: linear-gradient(145deg, #2b1115 0%, #5d1b2e 50%, #8b1c31 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}
.auth-left::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(139,26,43,0.12);
    top: -100px; right: -100px;
}
.auth-left::after {
    content: '';
    position: absolute;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -60px; left: -60px;
}
.auth-left-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    z-index: 1;
}
.auth-left-logo img {
    height: 35px;
    filter: brightness(0) invert(1);
}
.auth-left-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.auth-left-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139,26,43,0.2);
    border: 1px solid rgba(139,26,43,0.4);
    color: #ff6b6b;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 16px;
    z-index: 1;
}
.auth-left h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
}
.auth-left h2 span { color: #fff; }
.auth-left p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 24px;
    z-index: 1;
    position: relative;
}
.auth-features {
    list-style: none;
    padding: 0; margin: 0;
    z-index: 1;
    position: relative;
}
.auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.auth-features li .feat-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(139,26,43,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #8B1A2B;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.auth-left-dots {
    position: absolute;
    bottom: 40px; right: 40px;
    display: grid;
    grid-template-columns: repeat(5, 8px);
    gap: 8px;
    z-index: 1;
}
.auth-left-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.auth-left-dots span:nth-child(3),
.auth-left-dots span:nth-child(7),
.auth-left-dots span:nth-child(13) {
    background: rgba(139,26,43,0.5);
}

/* ── RIGHT PANEL ── */
.auth-right {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: #fff;
}
.auth-form-box {
    width: 100%;
    max-width: 420px;
}
.auth-form-box .form-top-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8B1A2B;
    margin-bottom: 8px;
}
.auth-form-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.2;
}
.auth-form-box .form-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
}
.auth-form-box .form-subtitle a {
    color: #8B1A2B;
    font-weight: 600;
    text-decoration: none;
}

/* Input groups */
.auth-input-group {
    position: relative;
    margin-bottom: 14px;
}
.auth-input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.2s;
}
.auth-input-group input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1a1a2e;
    background: #fafafa;
    transition: all 0.2s;
    outline: none;
}
.auth-input-group input:focus {
    border-color: #8B1A2B;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(139,26,43,0.08);
}
.auth-input-group input::placeholder { color: #bbb; }

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #E43A45;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(139,26,43,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139,26,43,0.45);
}
.auth-btn:active { transform: translateY(0); }

.auth-alt-btn {
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #1a1a2e;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 10px;
}
.auth-alt-btn:hover {
    border-color: #1a1a2e;
    background: #f7f8fc;
    color: #1a1a2e;
}

.auth-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.auth-footer-links a {
    font-size: 0.75rem;
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}
.auth-footer-links a:hover { color: #8B1A2B; }

/* Responsive */
@media (max-width: 900px) {
    .auth-left { display: none; }
    .auth-right { width: 100%; padding: 30px 20px; }
}

/* Custom validation styles */
.auth-input-group input.is-invalid {
    border-color: #8B1A2B !important;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(139,26,43, 0.1) !important;
}
span.invalid-feedback {
    display: block;
    color: #8B1A2B;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
    text-align: left;
}
