/* Shared Login/Auth page styles */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    padding-top: 76px;
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-top: 3px solid var(--hazard-yellow);
    padding: 2.5rem;
}

.auth-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: none;
}

@media (min-width: 992px) {
    .auth-right {
        display: block;
    }
}

.auth-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.auth-right-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
}

.form-control-custom {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--text-primary);
    padding: 0.5rem 0;
    width: 100%;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control-custom::placeholder {
    color: #444;
}

.form-control-custom:focus {
    border-bottom-color: var(--hazard-yellow);
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0;
    transition: color 0.2s ease;
}

.btn-ghost:hover {
    color: var(--hazard-yellow);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('BACKGROUND.svg') repeat;
    background-size: 50%;
    opacity: 0.4;
    z-index: -1;
}

.error-box {
    word-break: break-word;
}

/* ── Responsive ── */
@media (max-width: 575px) {
    .auth-wrapper {
        padding-top: 66px;
    }

    .auth-left {
        padding: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-right-overlay {
        padding: 1.5rem;
    }
}
