.bg {
                background-image: url("../../img/bg.jpg");
                min-height: 100vh;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                position: relative;
                display: flex;
                flex-direction: column;
            }
            
            .bg > .navbar,
            .bg > .wrapper-page,
            .bg > footer {
                position: relative;
                z-index: 1;
            }
            
            .navbar {
                background: rgba(255, 255, 255, 0.95) !important;
                backdrop-filter: blur(10px);
                box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
                padding: 15px 0;
            }
            
            .wrapper-page {
                max-width: 450px;
                margin: 50px auto;
                flex: 1;
                position: relative;
                z-index: auto;
            }
            
            .panel {
                background: rgba(255, 255, 255, 0.98);
                border: none;
                border-radius: 20px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
                overflow: hidden;
                backdrop-filter: blur(10px);
            }
            
            .panel-heading {
                background: linear-gradient(135deg, #5B8FD8 0%, #3f51b5 100%);
                color: white;
                padding: 30px 20px 20px;
                text-align: center;
                border-radius: 20px 20px 0 0;
            }
            
            .panel-heading h3 {
                color: white;
                font-weight: 600;
                margin: 0;
                font-size: 24px;
            }
            
            .panel-heading p {
                color: #fff;
                margin: 10px 0 0;
                font-size: 14px;
            }
            
            .panel-body {
                padding: 30px;
            }
            
            .form-group {
                margin-bottom: 20px;
            }
            
            .form-group label {
                font-weight: 600;
                color: #333;
                margin-bottom: 8px;
                display: block;
                font-size: 14px;
            }
            
            .form-control {
                border: 2px solid #e0e0e0;
                border-radius: 10px;
                padding: 12px 15px;
                font-size: 14px;
                transition: all 0.3s ease;
            }
            
            .form-control:focus {
                border-color: #5B8FD8;
                box-shadow: 0 0 0 0.2rem rgba(91, 143, 216, 0.25);
                outline: none;
            }
            
            .btn-purple {
                background: linear-gradient(135deg, #5B8FD8 0%, #3f51b5 100%);
                border: none;
                color: white;
                padding: 12px 30px;
                border-radius: 10px;
                font-weight: 600;
                font-size: 16px;
                transition: all 0.3s ease;
                box-shadow: 0 4px 15px rgba(91, 143, 216, 0.4);
            }
            
            .btn-purple:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(91, 143, 216, 0.5);
                background: linear-gradient(135deg, #6BA5E7 0%, #5B8FD8 100%);
            }
            
            .btn-purple:active {
                transform: translateY(0);
            }
            
            .cr-styled {
                color: #666;
                font-size: 14px;
            }
            
            .panel-body a {
                color: #5B8FD8;
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s ease;
            }
            
            .panel-body a:hover {
                color: #3f51b5;
                text-decoration: underline;
            }
            
            footer {
                background-color: rgba(40, 40, 40, 0.9) !important;
                backdrop-filter: blur(10px);
                color: #fff;
                padding: 15px 0;
                text-align: center;
                margin-top: auto;
                position: relative;
                z-index: 1;
            }
            
            footer a {
                color: #5B8FD8;
            }
            
            .modal-content {
                border-radius: 15px;
                border: none;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            }
            
            .modal-header {
                background: linear-gradient(135deg, #5B8FD8 0%, #3f51b5 100%);
                color: white;
                border-radius: 15px 15px 0 0;
                border: none;
            }
            
            .modal-header .close,
            .modal-header .btn-close {
                color: white;
                opacity: 0.9;
            }
            
            .modal-header .close:hover,
            .modal-header .btn-close:hover {
                opacity: 1;
            }
            
            .modal-title {
                color: white !important;
                font-weight: 600;
            }
            
            .modal-body h3 {
                color: #333;
                font-size: 18px;
                margin: 15px 0;
            }
            
            .animated {
                animation-duration: 0.6s;
            }
            
            @keyframes fadeInDown {
                from {
                    opacity: 0;
                    transform: translateY(-30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            
            .fadeInDown {
                animation-name: fadeInDown;
            }

            /* CSP-compliant utility classes (replacing inline styles) */
            .logo-img {
                max-width: 200px;
                height: auto;
            }

            .alert-warning-text {
                text-align: center;
                color: #fff3cd;
                font-weight: 500;
            }

            .hidden {
                display: none;
            }

            .icon-primary {
                color: #5B8FD8;
            }

            /* Fix SweetAlert2 z-index issue - ensure modal appears above everything */
            .swal2-container {
                z-index: 99999 !important;
            }

            .swal2-popup {
                z-index: 100000 !important;
            }

            /* Fix modal backdrop */
            .swal2-backdrop-show {
                z-index: 99998 !important;
            }

            /* Forgot Password Link/Button */
            .btn-link {
                color: #5B8FD8 !important;
                font-weight: 500;
                transition: color 0.2s ease;
            }

            .btn-link:hover {
                color: #3f51b5 !important;
            }

            /* Left side links stacked */
            .d-flex.flex-column.gap-2 {
                gap: 8px !important;
            }

            .d-flex.flex-column.gap-2 a {
                color: #5B8FD8;
                font-weight: 500;
                transition: all 0.2s ease;
                font-size: 14px;
            }

            .d-flex.flex-column.gap-2 a:hover {
                color: #3f51b5;
            }

            /* Forgot Password Modal specific styles */
            #forgotPasswordModal .modal-content {
                border-radius: 15px;
            }

            #forgotPasswordModal .modal-header {
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                color: white;
                border-radius: 15px 15px 0 0;
            }

            #forgotPasswordModal .modal-title {
                color: white !important;
            }

            #forgotPasswordModal .btn-close {
                filter: brightness(0) invert(1);
                opacity: 0.9;
            }

            #forgotPasswordModal .btn-close:hover {
                opacity: 1;
            }

            /* Disabled username input styling */
            #forgotUsername:disabled {
                background-color: #f8f9fa !important;
                cursor: not-allowed;
                opacity: 0.8;
            }

            /* OTP input styling */
            #forgotOtp {
                letter-spacing: 4px;
                font-size: 18px;
                text-align: center;
                font-weight: 600;
            }

            /* Success/Error message styling in modal */
            #forgotPasswordSuccess,
            #forgotPasswordError {
                border-radius: 8px;
                padding: 12px 15px;
                margin-top: 15px;
            }

            #forgotPasswordSuccess {
                background-color: #d4edda;
                border-color: #c3e6cb;
                color: #155724;
            }

            #forgotPasswordError {
                background-color: #f8d7da;
                border-color: #f5c6cb;
                color: #721c24;
            }

            /* Login Actions - Left-Center-Right Layout for Raise Complaint, Contact, Forgot Password */
            .login-actions {
                padding: 10px 0;
                width: 100%;
            }

            .login-actions a,
            .login-actions button {
                color: #5B8FD8 !important;
                font-weight: 500;
                font-size: 14px;
                transition: all 0.2s ease;
                white-space: nowrap;
            }

            .login-actions a:hover,
            .login-actions button:hover {
                color: #3f51b5 !important;
                text-decoration: underline !important;
            }

            .login-actions i {
                font-size: 14px;
            }

            /* Responsive: Stack vertically on small screens */
            @media (max-width: 575px) {
                .login-actions {
                    flex-direction: column !important;
                    align-items: center !important;
                    gap: 12px !important;
                }

                .login-actions a,
                .login-actions button {
                    font-size: 15px;
                    text-align: center;
                }
            }

            /* AmagiLoader Centering - Fix for login page */
            .amagiloader-overlay,
            .amagi-loader-overlay,
            [class*="amagiloader"],
            [class*="amagi-loader"] {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                width: 100% !important;
                height: 100% !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                z-index: 99999 !important;
            }

            /* Ensure loader content is centered */
            .amagiloader-content,
            .amagi-loader-content,
            .amagiloader-spinner,
            .amagi-loader-spinner {
                position: relative !important;
                top: auto !important;
                left: auto !important;
                transform: none !important;
            }