/* =========================================================
   ProwCRM - Custom Login Page Design
   Full-screen dark navy background, centered card, corporate look
   ========================================================= */

body.login_admin,
body.login_admin html {
    min-height: 100vh;
}

body.login_admin {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: #0b1220;
    background: radial-gradient(circle at 15% 15%, #16233d 0%, #0b1220 45%),
                linear-gradient(135deg, #0b1220 0%, #0f1b30 45%, #0b1420 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

/* Decorative glow blobs - purely CSS, no images needed */
body.login_admin::before,
body.login_admin::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

body.login_admin::before {
    width: 480px;
    height: 480px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.28) 0%, rgba(20, 184, 166, 0) 70%);
}

body.login_admin::after {
    width: 520px;
    height: 520px;
    bottom: -180px;
    right: -160px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.20) 0%, rgba(34, 197, 94, 0) 70%);
}

/* Subtle fine grid overlay for a technical/corporate texture */
body.login_admin .login-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.authentication-form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding-top: 0 !important;
    animation: authFadeUp 0.55s ease both;
}

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo card */
body.login_admin .company-logo {
    padding: 6px 10px 22px;
}

body.login_admin .company-logo img {
    max-height: 56px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Heading text on dark background */
body.login_admin h1 {
    color: #f8fafc !important;
    letter-spacing: -0.02em;
}

body.login_admin .tw-text-neutral-600 {
    color: #94a3b8 !important;
}

/* Card */
body.login_admin .tw-bg-white {
    background: #ffffff;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    padding-top: 34px !important;
}

body.login_admin .tw-bg-white::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6 0%, #22c55e 50%, #14b8a6 100%);
}

/* Labels */
body.login_admin .control-label {
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Inputs */
body.login_admin .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    height: auto;
    font-size: 14.5px;
    background: #f8fafc;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: none;
}

body.login_admin .form-control:focus {
    border-color: #14b8a6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
    outline: none;
}

/* Forgot password link */
body.login_admin a.text-muted {
    color: #0f766e !important;
    font-weight: 500;
    font-size: 12.5px;
    text-decoration: none;
}

body.login_admin a.text-muted:hover {
    text-decoration: underline;
}

/* Checkbox */
body.login_admin .checkbox label {
    color: #475569;
    font-size: 13.5px;
}

/* Submit button */
body.login_admin .btn-primary {
    background: linear-gradient(135deg, #0f1b30 0%, #16233d 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px -6px rgba(15, 27, 48, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.25s ease;
}

body.login_admin .btn-primary:hover {
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -6px rgba(20, 184, 166, 0.45);
}

body.login_admin .btn-primary:active {
    transform: translateY(0);
}

/* Footer tagline */
body.login_admin .login-footer-tag {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #64748b;
    font-size: 12.5px;
    margin-top: 22px;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .authentication-form-wrapper {
        max-width: 100%;
    }

    body.login_admin .tw-bg-white {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
}
