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

            html,
            body {
                height: 100%;
            }


            body {
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                background: linear-gradient(135deg, #0f1923 0%, #1a2332 50%, #0f1923 100%);
                background-attachment: fixed;
                min-height: 100vh;
                height: auto;
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
                overflow-y: auto;
                padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
            }

            @supports (height: 100svh) {
                body {
                    min-height: 100svh;
                }
            }

            /*body::before {
                content: '';
                position: absolute;
                width: 500px;
                height: 500px;
                background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
                top: -250px;
                right: -250px;
                border-radius: 50%;
                animation: pulse 8s ease-in-out infinite;
            }*/

            body::after {
                position: absolute;
                width: 400px;
                height: 400px;
                background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
                bottom: -200px;
                left: -200px;
                border-radius: 50%;
                animation: pulse 6s ease-in-out infinite reverse;
            }

            @keyframes pulse {
                0%, 100% { transform: scale(1); opacity: 0.5; }
                50% { transform: scale(1.2); opacity: 0.8; }
            }

            .login-container {
                position: relative;
                z-index: 1;
                width: 100%;
                max-width: 440px;
                padding: 20px;
                min-height: 100vh;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            @supports (height: 100svh) {
                .login-container {
                    min-height: 100svh;
                }
            }

            .login-card {
                background: rgba(28, 40, 56, 0.95);
                backdrop-filter: blur(20px);
                border-radius: 24px;
                padding: 48px 40px;
                box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                            0 0 0 1px rgba(255, 255, 255, 0.05);
                border: 1px solid rgba(255, 255, 255, 0.08);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
                width: min(100%, 440px);
                max-height: calc(110vh - 40px);
                overflow-y: auto;
            }

            .login-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5),
                            0 0 0 1px rgba(255, 255, 255, 0.08);
            }

            .logo-container {
                text-align: center;
                margin-bottom: 36px;
                animation: fadeInDown 0.8s ease;
            }

            .logo-wrapper {
                display: inline-block;
                position: relative;
                margin-bottom: 16px;
            }

            .logo-wrapper::before {
                content: '';
                position: absolute;
                inset: -8px;
                background: linear-gradient(135deg, #ffc107, #ff9800);
                border-radius: 50%;
                opacity: 0.2;
                animation: rotateGradient 3s linear infinite;
                z-index: -1;
            }

            @keyframes rotateGradient {
                0% { transform: rotate(0deg); }
                100% { transform: rotate(360deg); }
            }

            .logo {
                width: 120px;
                height: 120px;
                border-radius: 50%;
                padding: 16px;
                background: linear-gradient(135deg, #2c3e50 0%, #1a2332 100%);
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            }

            .brand-title {
                font-size: 32px;
                font-weight: 700;
                color: #fff;
                margin-bottom: 4px;
                letter-spacing: 1px;
                text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            }

            .brand-subtitle {
                font-size: 13px;
                color: white;
                text-transform: uppercase;
                letter-spacing: 2px;
                font-weight: 500;
            }

            .form-section {
                animation: fadeInUp 0.8s ease 0.2s backwards;
            }

            .install-prompt {
                margin-top: 24px;
                padding: 14px 16px;
                border-radius: 14px;
                background: rgba(255, 255, 255, 0.05);
                border: 1px solid rgba(255, 255, 255, 0.15);
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                flex-wrap: wrap;
                position: relative;
                z-index: 2;
            }

            .install-prompt.d-none {
                display: none;
            }

            .install-prompt .install-text {
                flex: 1;
                min-width: 180px;
                font-size: 0.85rem;
                color: #cfd8ff;
            }

            .install-prompt button {
                border-radius: 10px;
                padding: 0.45rem 1rem;
                font-size: 0.8rem;
            }

            @keyframes fadeInDown {
                from {
                    opacity: 0;
                    transform: translateY(-20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            @keyframes fadeInUp {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .form-label {
                color: white;
                font-weight: 500;
                font-size: 14px;
                margin-bottom: 10px;
                display: block;
            }

            .input-group-custom {
                position: relative;
                margin-bottom: 24px;
            }

            .input-icon {
                position: absolute;
                left: 16px;
                top: 66%;
                transform: translateY(-50%);
                color: white;
                font-size: 18px;
                pointer-events: none;
                transition: color 0.3s ease;
            }

            .form-control-custom {
                width: 100%;
                padding: 14px 16px 14px 48px;
                background: rgba(15, 23, 35, 0.6);
                border: 1.5px solid rgba(255, 255, 255, 0.08);
                border-radius: 12px;
                color: #fff;
                font-size: 15px;
                transition: all 0.3s ease;
                outline: none;
            }

            .form-control-custom::placeholder {
                color: white;
            }

            .form-control-custom:focus {
                background: rgba(15, 23, 35, 0.8);
                border-color: #ffc107;
                box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
            }

.form-control-custom:focus + .input-icon {
                color: #ffc107;
            }

            @media (max-width: 768px) {
                body {
                    align-items: flex-start;
                    justify-content: flex-start;
                    padding-bottom: 80px;
                }

                .login-container {
                    min-height: auto;
                    padding-top: 32px;
                    align-items: flex-start;
                    justify-content: center;
                }

                .install-prompt {
                    position: fixed;
                    bottom: 16px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: min(100%, 380px);
                    margin: 0 auto;
                    background: rgba(15, 23, 35, 0.95);
                    border-color: rgba(255, 255, 255, 0.25);
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
                    z-index: 999;
                }
            }

            @media (max-width: 520px) {
                body {
                    padding: 24px 12px;
                }

                .login-card {
                    padding: 32px 24px;
                    max-height: none;
                    overflow-y: visible;
                }

                .logo {
                    width: 96px;
                    height: 96px;
                }

                .brand-title {
                    font-size: 26px;
                }

                .input-group-custom {
                    margin-bottom: 18px;
                }

                .btn-login {
                    width: 100%;
                    font-size: 16px;
                }
            }

            .btn-login {
                width: 100%;
                padding: 16px;
                background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
                border: none;
                border-radius: 12px;
                color: #0f1923;
                font-size: 16px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 1px;
                cursor: pointer;
                transition: all 0.3s ease;
                box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
                margin-top: 8px;
            }

            .btn-login:hover {
                transform: translateY(-2px);
                box-shadow: 0 12px 32px rgba(255, 193, 7, 0.4);
                background: linear-gradient(135deg, #ffca28 0%, #ffc107 100%);
            }

            .btn-login:active {
                transform: translateY(0);
            }

            .alert-custom {
                background: rgba(220, 53, 69, 0.15);
                border: 1px solid rgba(220, 53, 69, 0.3);
                border-radius: 12px;
                color: #ff6b7a;
                padding: 14px 16px;
                margin-bottom: 24px;
                display: flex;
                align-items: center;
                gap: 12px;
                font-size: 14px;
                animation: shake 0.5s ease;
            }

            @keyframes shake {
                0%, 100% { transform: translateX(0); }
                25% { transform: translateX(-10px); }
                75% { transform: translateX(10px); }
            }

            .alert-custom i {
                font-size: 18px;
            }

            @media (max-width: 480px) {
                .login-card {
                    padding: 36px 28px;
                }

                .brand-title {
                    font-size: 28px;
                }
            }
