@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: #0f172a;
    background: #f5f8fc;
}

a {
    color: inherit;
    text-decoration: none;
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.admin-login-left {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 85% 12%, rgba(147, 197, 253, 0.28), transparent 32%),
        radial-gradient(circle at 8% 88%, rgba(129, 140, 248, 0.22), transparent 36%),
        linear-gradient(150deg, #172554 0%, #1d4ed8 52%, #4338ca 100%);
}

.admin-login-left::before,
.admin-login-left::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.admin-login-left::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -110px;
}

.admin-login-left::after {
    width: 460px;
    height: 460px;
    left: -220px;
    bottom: -220px;
}

.brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1d4ed8;
    font-size: 1.25rem;
    font-weight: 800;
}

.brand strong {
    display: block;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.brand small {
    display: block;
    color: #bfdbfe;
    font-size: 0.78rem;
}

.left-copy {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.left-copy span {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.left-copy h1 {
    margin: 0 0 12px;
    font-size: 2.35rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.left-copy p {
    margin: 0 0 28px;
    color: #dbeafe;
    font-size: 0.98rem;
    line-height: 1.7;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature i,
.feature .mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-style: normal;
    flex-shrink: 0;
}

.feature strong {
    display: block;
    font-size: 0.9rem;
}

.feature span {
    display: block;
    margin: 2px 0 0;
    padding: 0;
    background: none;
    color: #bfdbfe;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.left-footer {
    position: relative;
    z-index: 1;
    color: #bfdbfe;
    font-size: 0.78rem;
}

.admin-login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
}

.login-card {
    width: 100%;
    max-width: 440px;
}

.mobile-brand {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.mobile-brand .brand-icon {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
}

.login-card h2 {
    margin: 0 0 6px;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.login-card > .lede {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 0.95rem;
}

.kicker {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.88rem;
    font-weight: 600;
}

.alert.success {
    background: #ecfdf5;
    color: #047857;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.input-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-box span {
    color: #94a3b8;
    font-size: 0.95rem;
}

.input-box input {
    width: 100%;
    height: 48px;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    color: #0f172a;
}

.toggle-password {
    border: 0;
    background: none;
    color: #64748b;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
}

.login-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.login-btn:hover {
    filter: brightness(1.05);
}

.credentials {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.credentials h3 {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.credentials dl {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 6px 10px;
    margin: 0 0 12px;
    font-size: 0.88rem;
}

.credentials dt {
    color: #64748b;
    font-weight: 600;
}

.credentials dd {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}

.fill-btn {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #1d4ed8;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.secure-note {
    margin-top: 18px;
    color: #94a3b8;
    font-size: 0.78rem;
    text-align: center;
}

@media (max-width: 960px) {
    .admin-login-page {
        grid-template-columns: 1fr;
    }

    .admin-login-left {
        display: none;
    }

    .mobile-brand {
        display: flex;
    }

    .admin-login-right {
        min-height: 100vh;
        padding: 28px 20px;
    }
}
