/* Responsive login page styles */
:root {
    --bg: #0b1020;
    --card: #121935;
    --muted: #94a3b8;
    --text: #e2e8f0;
    --accent: #3b82f6;
    --accent-2: #22c55e;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 600px at 80% -10%, rgba(59, 130, 246, .25), transparent), var(--bg);
}

.login-wrapper {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
}

@media (max-width: 960px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }
}

.showcase {
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    background: linear-gradient(180deg, rgba(17, 24, 39, .2), rgba(17, 24, 39, .0));
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #22c55e);
    box-shadow: 0 8px 24px rgba(34, 197, 94, .25);
}

.headline {
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
    margin: .25rem 0 0 0;
}

.subhead {
    color: var(--muted);
    max-width: 48ch;
    line-height: 1.5;
    font-size: 1rem;
}

.illustrations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.illo-card {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, .15);
    border-radius: 14px;
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    text-align: center;
}

.illo-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.illo-title {
    font-size: .9rem;
    color: #cbd5e1;
}

@media (max-width: 600px) {
    .illustrations {
        grid-template-columns: 1fr;
    }
}

.form-pane {
    display: grid;
    place-items: center;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.card {
    width: min(440px, 92vw);
    background: var(--card);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 16px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 12px 40px rgba(2, 6, 23, .45);
}

.card h2 {
    margin: 0 0 .25rem 0;
    font-size: 1.8rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.alert {
    margin-top: 1rem;
    padding: .75rem .9rem;
    border-radius: 10px;
    font-size: .95rem;
}

.alert-error {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .35);
    color: #fecaca;
}

.alert-info {
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .35);
    color: #bfdbfe;
}

.form {
    margin-top: 1.2rem;
    display: grid;
    gap: .9rem;
}

.input {
    display: grid;
    gap: .35rem;
}

.input label {
    font-size: .95rem;
    color: #cbd5e1;
}

.input input {
    width: 100%;
    padding: .75rem .9rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: #0b1229;
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.input input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .18);
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .25rem;
}

.actions .left {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #9aa7bd;
    font-size: .9rem;
}

.btn {
    appearance: none;
    border: none;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: .8rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .25);
    transition: transform .06s ease, box-shadow .2s ease;
}

.btn:hover {
    box-shadow: 0 16px 28px rgba(37, 99, 235, .35);
}

.btn:active {
    transform: translateY(1px);
}

.footer-note {
    margin-top: 1rem;
    color: #9aa7bd;
    font-size: .85rem;
    text-align: center;
}

.footer-note a {
    color: #93c5fd;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}
