/* Login / authentication screen */
* { box-sizing: border-box; }
body {
    margin: 0; min-height: 100vh; font-family: "Poppins", "Segoe UI", sans-serif;
    background: #0b1220; color: #0f172a;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.auth-wrap {
    display: grid; grid-template-columns: 1.1fr 1fr; width: 100%; max-width: 1000px;
    min-height: 600px; background: #fff; border-radius: 22px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

/* Brand side */
.auth-brand {
    background: linear-gradient(150deg, #0d9488 0%, #6366f1 100%);
    color: #fff; padding: 46px 44px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}
.auth-brand::before, .auth-brand::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.auth-brand::before { width: 260px; height: 260px; top: -80px; right: -70px; }
.auth-brand::after { width: 180px; height: 180px; bottom: -60px; left: -40px; }
.auth-brand .logo { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 800; margin-bottom: 26px; position: relative; }
.auth-brand .logo i { font-size: 1.9rem; }
.auth-brand h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; position: relative; }
.auth-brand p { opacity: .92; margin: 14px 0 26px; position: relative; }
.auth-brand ul { list-style: none; padding: 0; margin: 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
.auth-brand li { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.auth-brand li .fi {
    width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.18);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* Form side */
.auth-form { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.auth-form .sub { color: #64748b; margin-bottom: 26px; font-size: .9rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.input-wrap input {
    width: 100%; padding: 12px 44px 12px 42px; border: 1px solid #e2e8f0;
    border-radius: 10px; font-size: .92rem; outline: none; transition: border .2s, box-shadow .2s;
}
.input-wrap input:focus { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #94a3b8; cursor: pointer; }
.opts { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: .85rem; }
.opts label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.btn-signin {
    width: 100%; border: none; border-radius: 10px; padding: 13px;
    background: linear-gradient(135deg, #0d9488, #6366f1); color: #fff; font-weight: 700;
    font-size: .95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform .15s, box-shadow .2s;
}
.btn-signin:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(13,148,136,.35); }
.auth-alert {
    border-radius: 10px; padding: 11px 14px; margin-bottom: 18px; font-size: .86rem;
    display: flex; align-items: center; gap: 9px;
}
.auth-alert.danger { background: #fee2e2; color: #991b1b; }
.auth-alert.warning { background: #fef3c7; color: #92400e; }
.auth-alert.success { background: #d1fae5; color: #065f46; }
.auth-footer { margin-top: 26px; text-align: center; color: #94a3b8; font-size: .78rem; }

@media (max-width: 820px) {
    .auth-wrap { grid-template-columns: 1fr; max-width: 460px; }
    .auth-brand { display: none; }
}
