:root {
    --blue: #1e40af;
    --red: #dc2626;
    --dark: #111827;
    --gray: #6b7280;
    --border: #d1d5db;
    --bg: #f9fafb;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PAGE */
body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    height: 100vh;
}

.login-page {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 30px 60px rgba(0,0,0,.08);
}

/* LOGO */
.login-logo {
    text-align: center;
    margin-bottom: 18px;
}

.login-logo img {
    max-width: 220px;
}

/* TITLES */
.login-title {
    text-align: center;
    font-size: 22px;
    color: var(--dark);
    font-weight: 700;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
}

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

label {
    font-size: 13px;
    color: var(--dark);
    margin-bottom: 6px;
    display: block;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    padding: 12px 42px 12px 42px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30,64,175,.15);
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

/* OPTIONS */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 24px;
}

.forgot {
    color: var(--blue);
    text-decoration: none;
}

/* BUTTON */
.login-btn {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.login-btn:hover {
    opacity: .95;
}

/* SPINNER */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* NOTIFICATION */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background: var(--red);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    transform: translateX(200%);
    transition: .3s;
}

.notification.show {
    transform: translateX(0);
}
