/* =============================================
   ORBES NODE — AUTH (login / register) (auth.css)
   Split layout: form left, image right.
   ============================================= */
body.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-dark);
}

.auth-card {
    width: 100%;
    max-width: 920px;
    display: flex;
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--shadow-color);
    position: relative;
    z-index: 1;
}

.auth-form-side {
    flex: 1;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
}

.auth-logo {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 38px;
}
.auth-logo i { color: var(--cyan); font-size: 1.6rem; }
.auth-logo span { font-size: 1.3rem; font-weight: 800; letter-spacing: .5px; color: var(--text); }

.auth-title    { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.auth-subtitle { font-size: .88rem; color: var(--muted); margin-bottom: 30px; }

.auth-field { margin-bottom: 18px; }
.auth-field-label {
    display: flex; align-items: center; justify-content: space-between;
    font-size: .78rem; font-weight: 700; letter-spacing: .3px;
    color: var(--text-soft); margin-bottom: 8px; text-transform: uppercase;
}
.auth-field-label a { color: var(--cyan); font-weight: 600; text-transform: none; font-size: .8rem; }
.auth-field-label a:hover { text-decoration: underline; }

.auth-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text);
    font-size: .92rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.auth-input::placeholder { color: var(--muted); }
.auth-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }

.auth-error {
    background: rgba(255,82,82,.08); border: 1px solid rgba(255,82,82,.3);
    color: #ff8a8a; font-size: .85rem; padding: 12px 16px;
    border-radius: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.auth-success {
    background: rgba(0,230,118,.08); border: 1px solid rgba(0,230,118,.3);
    color: #5be08a; font-size: .85rem; padding: 12px 16px;
    border-radius: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}

.auth-submit {
    width: 100%;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    color: #04101a;
    font-weight: 800;
    letter-spacing: .4px;
    padding: 14px;
    border-radius: 10px;
    font-size: .92rem;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    transition: filter .2s, box-shadow .2s;
}
.auth-submit:hover { filter: brightness(1.06); box-shadow: 0 0 22px var(--cyan-glow); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }

.auth-switch {
    text-align: center; margin-top: 22px;
    font-size: .85rem; color: var(--muted);
}
.auth-switch a { color: var(--cyan); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }

.auth-footer-note {
    margin-top: auto;
    text-align: center;
    font-size: .72rem;
    color: var(--muted);
    padding-top: 30px;
}

.auth-image-side {
    flex: 1;
    position: relative;
    background-image:
            linear-gradient(180deg, rgba(8,11,18,.05) 0%, rgba(8,11,18,.55) 100%),
            url('../../images/auth/login-side.jpg');
    background-size: cover;
    background-position: center;
    display: none;
}

@media (min-width: 760px) {
    .auth-image-side { display: block; }
}

@media (max-width: 759px) {
    .auth-card { max-width: 440px; }
    .auth-form-side { padding: 38px 28px; }
}
