:root {
    --erp-primary: #4f46e5;
    --erp-primary-dark: #3730a3;
    --erp-ink: #182033;
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 12%, rgba(99, 102, 241, 0.14), transparent 25rem),
        radial-gradient(circle at 88% 88%, rgba(14, 165, 233, 0.12), transparent 25rem),
        #f4f7fb;
}

.login-shell {
    max-width: 1180px;
    min-height: 720px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.75rem;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

.login-showcase {
    position: relative;
    isolation: isolate;
    background: linear-gradient(145deg, #111827 0%, #312e81 58%, #4338ca 100%);
}

.login-showcase::before,
.login-showcase::after {
    position: absolute;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.login-showcase::before {
    top: -9rem;
    right: -7rem;
    width: 26rem;
    height: 26rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.035), 0 0 0 8rem rgba(255, 255, 255, 0.025);
}

.login-showcase::after {
    bottom: -10rem;
    left: -8rem;
    width: 24rem;
    height: 24rem;
    background: rgba(56, 189, 248, 0.12);
    filter: blur(2px);
}

.brand-icon {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 800;
}

.brand-icon-dark {
    color: #fff;
    border-color: transparent;
    background: var(--erp-primary);
}

.showcase-copy {
    max-width: 31rem;
}

.eyebrow {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0.25rem rgba(52, 211, 153, 0.15);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    font-weight: 600;
}

.feature-icon,
.security-lock {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.14);
}

.login-form-panel {
    background: rgba(255, 255, 255, 0.96);
}

.login-form-wrap {
    max-width: 440px;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.form-control,
.input-group-text,
.password-toggle {
    min-height: 3.4rem;
    border-color: #dce2eb;
}

.input-group-text {
    color: #64748b;
    background: #f8fafc;
}

.form-control:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.12);
}

.btn-primary {
    border-color: var(--erp-primary);
    background: var(--erp-primary);
    box-shadow: 0 0.75rem 1.5rem rgba(79, 70, 229, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--erp-primary-dark);
    background: var(--erp-primary-dark);
}

.security-message {
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #f8fafc;
}

.security-lock {
    color: #047857;
    background: #d1fae5;
}

.secure-note::before {
    color: #10b981;
    content: '●';
    margin-right: 0.35rem;
}

@media (max-width: 991.98px) {
    .login-shell {
        max-width: 580px;
        min-height: auto;
        border-radius: 1.35rem;
    }

    .login-form-panel {
        min-height: calc(100vh - 2rem);
    }
}

@media (max-width: 575.98px) {
    .login-page {
        padding: 0 !important;
        background: #fff;
    }

    .login-shell {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-form-panel {
        padding: 2rem 1.25rem !important;
    }
}
