/* ===== Admin Login — Light Theme ===== */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6f9;
    overflow: hidden;
}

/* ── Background glows ── */
.al-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.al-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.al-glow--1 {
    top: -120px;
    left: -120px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0,168,150,0.1) 0%, transparent 65%);
}

.al-glow--2 {
    bottom: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0,168,150,0.07) 0%, transparent 65%);
}

.al-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── Card ── */
.al-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    margin: 1rem;
}

/* ── Logo ── */
.al-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.al-logo img {
    height: 34px;
    width: auto;
    display: block;
}

.al-divider {
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 24px;
}

/* ── Heading ── */
.al-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.al-sub {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 28px;
}

/* ── Error ── */
.al-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.84rem;
    color: #dc2626;
    margin-bottom: 20px;
}

.al-error svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #dc2626;
}

/* ── Form ── */
.al-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.al-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.al-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
}

.al-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.al-input-icon {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    stroke: #94a3b8;
    pointer-events: none;
}

.al-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 44px 13px 40px;
    font-size: 0.9rem;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.al-input::placeholder { color: #94a3b8; }

.al-input:focus {
    border-color: rgba(0,168,150,0.5);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,168,150,0.08);
}

.al-eye {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.al-eye:hover { color: #00A896; }

.al-eye svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ── Submit button ── */
.al-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

.al-btn:hover {
    background: #00A896;
    transform: translateY(-1px);
}

.al-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

/* ── Footer ── */
.al-footer {
    text-align: center;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 28px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .al-card { padding: 28px 22px; }
    .al-title { font-size: 1.4rem; }
}
