/* ===== AUTH PAGES ===== */
.auth-body {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-home {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
    z-index: 100;
}

.back-home:hover { color: var(--gold); }

/* ===== TWO COLUMN LAYOUT ===== */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

/* ===== LEFT SIDE ===== */
.auth-left {
    background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 100%);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--dark-border);
}

.auth-brand .logo {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.auth-brand h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.auth-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.auth-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-feature i {
    color: var(--gold);
    font-size: 1.1rem;
    width: 20px;
}

/* ===== RIGHT SIDE ===== */
.auth-right {
    background: var(--dark-bg);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.auth-form-box {
    width: 100%;
    max-width: 460px;
}

.auth-form-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* ===== MESSAGE BOX ===== */
.message-box {
    display: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.message-box.success {
    display: block;
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.message-box.error {
    display: block;
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid #ff5050;
    color: #ff5050;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i:first-child {
    position: absolute;
    left: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    outline: none;
    appearance: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--gold);
}

.input-wrapper select option {
    background: var(--dark-card);
}

.toggle-pass {
    position: absolute;
    right: 0.9rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.toggle-pass:hover { color: var(--gold); }

/* ===== CHECKBOX ===== */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-check input { margin-top: 3px; accent-color: var(--gold); }

.form-check a {
    color: var(--gold);
    text-decoration: none;
}

/* ===== FORGOT PASSWORD ===== */
.forgot-password {
    text-align: right;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
}

/* ===== AUTH BUTTON ===== */
.btn-auth {
    width: 100%;
    padding: 0.9rem;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 1.5rem;
}

.btn-auth:hover { background: var(--gold-dark); }

.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== SWITCH LINK ===== */
.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    .auth-left { display: none; }
    .auth-right { padding: 6rem 1.5rem 2rem; }
}