@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #f0f4ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* ── Container ── */
.login-container {
    width: 960px;
    max-width: 100%;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 50, 200, 0.14);
}

/* ── Left panel ── */
.login-left {
    width: 46%;
    background: linear-gradient(145deg, #1a3fff 0%, #0028c8 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* decorative circles */
.login-left::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    top: -80px; right: -80px;
}
.login-left::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    bottom: -60px; left: -60px;
}

.login-left-top { position: relative; z-index: 1; }
.login-left-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}
.login-left-brand .brand-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
}
.login-left-brand span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .85;
}

.login-left h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.login-left .tagline {
    font-size: 13px;
    line-height: 1.6;
    opacity: .8;
    margin-bottom: 36px;
}

/* feature bullets */
.login-features { position: relative; z-index: 1; }
.login-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.login-feature-item:last-child { margin-bottom: 0; }
.feature-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.feature-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
}
.feature-text span {
    font-size: 11px;
    opacity: .7;
}

.login-left-footer {
    position: relative; z-index: 1;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .4;
    margin-top: 32px;
}

/* ── Right panel ── */
.login-right {
    width: 54%;
    background: #fff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.login-brand img { height: 44px; }

.login-right h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 6px;
}
.sub-text {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 28px;
}

/* ── Form ── */
.login-form { width: 100%; }

.form-group {
    margin-bottom: 16px;
    text-align: left;
}
.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #475569;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid #e8edf4;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    font-family: inherit;
}
.form-control:focus {
    border-color: #1a3fff;
    box-shadow: 0 0 0 3px rgba(26,63,255,.1);
}
.form-control::placeholder { color: #cbd5e1; }

/* password wrapper */
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 44px; }
.pw-eye {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.pw-eye:hover { color: #1a3fff; }

/* forgot */
.form-action {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
    margin-top: -6px;
}
.forgot-password {
    font-size: 11px;
    font-weight: 600;
    color: #1a3fff;
    text-decoration: none;
}
.forgot-password:hover { text-decoration: underline; }

/* submit */
.btn-signin {
    width: 100%;
    height: 44px;
    background: #1a3fff;
    color: #fff;
    border: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(26,63,255,.35);
    font-family: inherit;
}
.btn-signin:hover {
    background: #1230d4;
    box-shadow: 0 6px 20px rgba(26,63,255,.4);
}

/* alerts */
.login-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 14px;
}
.login-alert.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.login-alert.error   { background: #fff1f2; color: #e11d48; border: 1px solid #fecdd3; }

/* divider */
.social-login-separator {
    position: relative;
    text-align: center;
    margin: 20px 0;
}
.social-login-separator::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #f1f5f9;
}
.social-login-separator span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    font-size: 11px;
    color: #cbd5e1;
}

/* go to website btn */
.social-buttons { margin-bottom: 18px; }
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border: 1.5px solid #e8edf4;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
    font-family: inherit;
}
.btn-social:hover {
    border-color: #1a3fff;
    color: #1a3fff;
    text-decoration: none;
    background: #f5f8ff;
}

/* bottom links */
.create-account {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 0;
}
.create-account a {
    color: #1a3fff;
    font-weight: 700;
    text-decoration: none;
}
.create-account a:hover { text-decoration: underline; }

.footer-text {
    font-size: 9px;
    color: #cbd5e1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    body { padding: 16px; }
    .login-container { flex-direction: column; }
    .login-left  { width: 100%; padding: 32px 28px 28px; }
    .login-right { width: 100%; padding: 32px 28px; }
    .login-left h1 { font-size: 22px; }
    .login-features { display: none; }
}
