* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    margin: 0;
    background: #0f172a;
    color: #fff;
}

.auth-container {
    display: flex;
    height: 100vh;
}

/* LEFT */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.auth-left p {
    font-size: 18px;
    color: #c7d2fe;
    max-width: 420px;
}

/* RIGHT */
.auth-right {
    flex: 1;
    background: #020617;
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    width: 100%;
    max-width: 360px;
}

form h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    font-size: 13px;
    color: #cbd5f5;
    display: block;
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #fff;
}

input:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-primary {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.alert-error {
    background: rgba(220,38,38,.15);
    color: #fecaca;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        display: none;
    }
}

.alert-success {
    background: rgba(34,197,94,.15);
    color: #bbf7d0;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}


/* =======================
   TOAST NOTIFICATIONS
======================= */
.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 280px;
    padding: 16px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateY(-15px);
    animation: slideIn .35s ease forwards;
    z-index: 9999;
}

.toast.success {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.toast.error {
    background: linear-gradient(281deg, #dc2626, #991b1b);
}

.toast small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: .85;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
