
 
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            min-height: 100%;
        }

        body {
            font-family: "Inter", sans-serif;
            background: #020617;
            color: #fff;
        }


        /* =========================================
           PAGE
        ========================================= */

        .login-page {
            position: relative;
            min-height: 100vh;

            display: flex;
            align-items: center;
            justify-content: center;

            padding: 30px 15px;

            overflow: hidden;
        }


        /* =========================================
           BACKGROUND
        ========================================= */

        .house-background {
            position: fixed;
            inset: -30px;

            background-image:
                url("../../img/modern-house.jpg");

            background-size: cover;
            background-position: center;

            filter:
                blur(8px)
                brightness(.48)
                saturate(.85);

            transform: scale(1.08);

            z-index: 0;
        }


        /* =========================================
           BACKGROUND OVERLAY
        ========================================= */

        .background-overlay {
            position: fixed;
            inset: 0;

            background:
                linear-gradient(
                    135deg,
                    rgba(2,6,23,.82),
                    rgba(2,6,23,.55),
                    rgba(2,6,23,.85)
                );

            z-index: 1;
        }


        /* =========================================
           VIGNETTE
        ========================================= */

        .vignette {
            position: fixed;
            inset: 0;

            pointer-events: none;

            background:
                radial-gradient(
                    ellipse at center,
                    transparent 20%,
                    rgba(0,0,0,.35) 65%,
                    rgba(0,0,0,.75) 100%
                );

            z-index: 2;
        }


        /* =========================================
           DECORATIVE GLOW
        ========================================= */

        .glow {
            position: fixed;

            width: 350px;
            height: 350px;

            border-radius: 50%;

            background:
                rgba(59,130,246,.12);

            filter: blur(80px);

            animation: floatingGlow 7s ease-in-out infinite;

            z-index: 2;

            pointer-events: none;
        }

        .glow-one {
            top: -120px;
            left: -100px;
        }

        .glow-two {
            bottom: -150px;
            right: -100px;

            animation-delay: -3s;
        }

        @keyframes floatingGlow {

            0%,
            100% {
                transform: translate(0, 0);
            }

            50% {
                transform: translate(30px, -20px);
            }

        }


        /* =========================================
           WRAPPER
        ========================================= */

        .login-wrapper {
            position: relative;

            width: 100%;
            max-width: 450px;

            z-index: 10;

            animation:
                cardAppear .5s ease-out;
        }

        @keyframes cardAppear {

            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }

        }


        /* =========================================
           CARD
        ========================================= */

        .login-card {
            position: relative;

            width: 100%;

            padding: 40px;

            border-radius: 26px;

            background:
                rgba(8,15,30,.88);

            border:
                1px solid
                rgba(96,165,250,.25);

            backdrop-filter:
                blur(20px);

            -webkit-backdrop-filter:
                blur(20px);

            box-shadow:
                0 30px 70px
                rgba(0,0,0,.55);

            overflow: visible;
        }


        /* =========================================
           CARD TOP LIGHT
        ========================================= */

        .login-card::before {
            content: "";

            position: absolute;

            top: 0;
            left: 10%;

            width: 80%;
            height: 1px;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    rgba(96,165,250,.6),
                    transparent
                );
        }


        /* =========================================
           LOGO
        ========================================= */

        .logo {
            width: 76px;
            height: 76px;

            margin:
                0 auto 20px;

            display: flex;

            align-items: center;
            justify-content: center;

            border-radius: 20px;

            background:
                rgba(255,255,255,.07);

            border:
                1px solid
                rgba(255,255,255,.12);

            overflow: hidden;

            box-shadow:
                0 10px 30px
                rgba(0,0,0,.25);
        }

        .logo img {
            width: 60px;
            height: 60px;

            object-fit: contain;
        }


        /* =========================================
           HEADER
        ========================================= */

        .login-header {
            text-align: center;
        }

        .login-header h1 {
            font-size: 29px;

            font-weight: 800;

            margin-bottom: 8px;

            letter-spacing: -1px;
        }

        .login-header p {
            color:
                rgba(255,255,255,.55);

            font-size: 13px;

            line-height: 1.6;

            margin-bottom: 28px;
        }


        /* =========================================
           FORM
        ========================================= */

        .form-group {
            margin-bottom: 17px;
        }

        .form-label {
            display: block;

            margin-bottom: 8px;

            font-size: 12px;

            font-weight: 600;

            color:
                rgba(255,255,255,.75);
        }


        /* =========================================
           INPUT
        ========================================= */

        .input-wrapper {
            position: relative;
        }

        .form-input {
            width: 100%;

            height: 54px;

            padding:
                0 48px;

            border:
                1px solid
                rgba(255,255,255,.10);

            border-radius: 13px;

            background:
                rgba(0,0,0,.25);

            color: #fff;

            outline: none;

            font-family: inherit;

            font-size: 13px;

            transition:
                .2s ease;
        }

        .form-input::placeholder {
            color:
                rgba(255,255,255,.28);
        }

        .form-input:focus {
            border-color:
                rgba(96,165,250,.65);

            background:
                rgba(0,0,0,.32);

            box-shadow:
                0 0 0 3px
                rgba(59,130,246,.08);
        }


        /* =========================================
           INPUT ICON
        ========================================= */

        .input-icon {
            position: absolute;

            left: 17px;
            top: 50%;

            transform:
                translateY(-50%);

            color:
                rgba(255,255,255,.35);

            font-size: 14px;

            pointer-events: none;

            z-index: 2;
        }


        /* =========================================
           PASSWORD TOGGLE
        ========================================= */

        .password-toggle {
            position: absolute;

            right: 13px;
            top: 50%;

            transform:
                translateY(-50%);

            width: 32px;
            height: 32px;

            display: flex;

            align-items: center;
            justify-content: center;

            border: none;

            background:
                transparent;

            color:
                rgba(255,255,255,.35);

            cursor: pointer;

            z-index: 5;

            transition:
                .2s ease;
        }

        .password-toggle:hover {
            color: #fff;
        }


        /* =========================================
           FORGOT PASSWORD
        ========================================= */

        .forgot-row {
            display: flex;

            justify-content: flex-end;

            margin-top: -4px;

            margin-bottom: 20px;
        }

        .forgot-link {
            color:
                #60a5fa;

            text-decoration: none;

            font-size: 11px;

            font-weight: 600;

            transition:
                .2s ease;
        }

        .forgot-link:hover {
            color: #93c5fd;
        }


/* =========================================
   LOGIN ERROR MESSAGE
========================================= */

.error-message {
    display: none;
    width: 100%;
    box-sizing: border-box;

    margin: 0 0 18px;

    padding: 12px 15px;

    border-radius: 10px;

    background: rgba(220, 38, 38, 0.10);

    border: 1px solid rgba(239, 68, 68, 0.35);

    color: #ef4444;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.5;

    text-align: center;
}


/* PHP ERROR */
.error-message.show {
    display: block !important;
}


/* JAVASCRIPT ERROR */
.error-message[style*="display: block"] {
    display: block !important;
}

        /* =========================================
           LOGIN BUTTON
        ========================================= */

        .login-btn {
            width: 100%;

            height: 54px;

            border: none;

            border-radius: 14px;

            background:
                #3b82f6;

            color: #fff;

            font-family: inherit;

            font-size: 14px;

            font-weight: 700;

            cursor: pointer;

            transition:
                background .2s ease,
                transform .2s ease,
                box-shadow .2s ease;
        }

        .login-btn:hover {
            background:
                #4b8df8;

            transform:
                translateY(-2px);

            box-shadow:
                0 10px 25px
                rgba(59,130,246,.20);
        }

        .login-btn:active {
            transform:
                translateY(0);
        }

        .login-btn i {
            margin-left: 7px;

            font-size: 12px;
        }


        /* =========================================
           REGISTER
        ========================================= */

        .register-text {
            text-align: center;

            margin-top: 23px;

            color:
                rgba(255,255,255,.43);

            font-size: 12px;
        }

        .register-text a {
            color:
                #60a5fa;

            text-decoration: none;

            font-weight: 700;

            margin-left: 4px;
        }

        .register-text a:hover {
            color: #93c5fd;
        }


        /* =========================================
           SECURITY TEXT
        ========================================= */

        .security-text {
            display: flex;

            align-items: center;
            justify-content: center;

            gap: 6px;

            margin-top: 20px;

            color:
                rgba(255,255,255,.25);

            font-size: 10px;
        }

        .security-text i {
            font-size: 10px;

            color:
                rgba(96,165,250,.65);
        }


        /* =========================================
           MOBILE
        ========================================= */

        @media (max-width: 600px) {

            .login-page {
                padding:
                    20px 12px;
            }

            .login-card {
                padding:
                    32px 22px;

                border-radius:
                    23px;
            }

            .logo {
                width: 72px;
                height: 72px;
            }

            .logo img {
                width: 56px;
                height: 56px;
            }

            .login-header h1 {
                font-size: 27px;
            }

            .login-header p {
                font-size: 12px;
            }

        }


        /* =========================================
           SMALL MOBILE
        ========================================= */

        @media (max-width: 360px) {

            .login-card {
                padding:
                    28px 17px;
            }

            .login-header h1 {
                font-size: 25px;
            }

            .form-input {
                height: 51px;
            }

            .login-btn {
                height: 52px;
            }

        }