:root {
            --primary-color: #8a42ff;
            --secondary-color: #2b2b36;
            --border-radius: 10px;
            --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Preloader */
        

        

        .loader__text::after {
            content: attr(data-text);
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary-color);
            overflow: hidden;
            width: 0;
            animation: loading 2s linear infinite;
        }

        @keyframes loading {
            0% { width: 0; }
            100% { width: 100%; }
        }

        /* Scroll to Top */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--primary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
            text-decoration: none;
            font-size: 12px;
            text-align: center;
            line-height: 1.2;
            padding: 5px;
        }

        .scroll-top.show {
            opacity: 1;
            visibility: visible;
        }

        .login-page-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            width: 100%;
        }
        /* Login Container */
        .login-container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            min-height: 700px;
            margin: 20px;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }

        /* Left Side - Branding */
        .login-left {
            flex: 1;
            background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a24 100%);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .login-left::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: url('https://preview.wstacks.com/quickpost/assets/presets/default/images/footer-dots2.svg');
            background-size: 600px;
            opacity: 0.1;
            animation: float 20s linear infinite;
        }

        @keyframes float {
            0% { transform: translateX(0) translateY(0) rotate(0deg); }
            100% { transform: translateX(-100px) translateY(-100px) rotate(360deg); }
        }

        .login-logo {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            z-index: 1;
        }

        .login-logo img {
            max-width: 180px;
            height: auto;
        }

        .login-tagline {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            z-index: 1;
        }

        .login-tagline h1 {
            font-size: 28px;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #fff, var(--primary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .login-tagline p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
        }

        /* Features List */
        .features-list {
            position: relative;
            z-index: 1;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--border-radius);
            transition: var(--transition);
        }

        .feature-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .feature-text h4 {
            font-size: 16px;
            margin-bottom: 5px;
        }

        .feature-text p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
        }

        /* Right Side - Login Form */
        .login-right {
            flex: 1;
            background: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-form-container {
            max-width: 400px;
            margin: 0 auto;
            width: 100%;
        }

        .login-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .login-header h2 {
            color: var(--secondary-color);
            font-size: 28px;
            margin-bottom: 10px;
        }

        .login-header p {
            color: #6c757d;
            font-size: 16px;
        }

        /* Form */
        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 14px;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(138, 66, 255, 0.1);
        }

        .password-field {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #6c757d;
            cursor: pointer;
            font-size: 16px;
        }

        /* Remember Me & Forgot Password */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--primary-color);
            cursor: pointer;
        }

        .remember-me label {
            color: #6c757d;
            font-size: 14px;
            cursor: pointer;
        }

        .forgot-password {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 14px;
            transition: var(--transition);
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        /* Buttons */
        

        .btn--primary {
            background: var(--primary-color);
            color: white;
            width: 100%;
        }

        .btn--primary:hover {
            background: #7a32e6;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(138, 66, 255, 0.2);
        }

        .btn--primary:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        /* Sign Up Link */
        .signup-link {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }

        .signup-link p {
            color: #6c757d;
            font-size: 14px;
        }

        .signup-link a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        /* Animations */
        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }

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

        /* Error States */
        .form-control.error {
            border-color: #ff4757;
        }

        .error-message {
            color: #ff4757;
            font-size: 12px;
            margin-top: 5px;
            display: none;
            min-height: 18px;
        }

        .success-message {
            color: #28a745;
            font-size: 12px;
            margin-top: 5px;
            display: none;
            min-height: 18px;
        }

        /* Flash Messages */
        .flash-message {
            padding: 12px 15px;
            margin-bottom: 20px;
            border-radius: var(--border-radius);
            animation: fadeIn 0.3s ease;
        }

        .flash-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .flash-danger {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .flash-info {
            background-color: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }

        /* Success Animation */
        @keyframes success {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .success {
            animation: success 0.3s ease;
        }

        /* Spinner */
        .spinner-border {
            width: 1rem;
            height: 1rem;
            border-width: 0.2em;
        }

        .d-none {
            display: none !important;
        }

        /* Password Strength Indicator */
        .password-strength-container {
            margin-top: 8px;
        }

        .password-strength {
            height: 4px;
            background: #e9ecef;
            border-radius: 2px;
            margin-top: 5px;
            overflow: hidden;
            position: relative;
        }

        .strength-meter {
            height: 100%;
            width: 0;
            border-radius: 2px;
            transition: var(--transition);
            position: absolute;
            left: 0;
            top: 0;
        }

        .strength-very-weak { background: #ff4757; }
        .strength-weak { background: #ff6b81; }
        .strength-fair { background: #ffa502; }
        .strength-good { background: #2ed573; }
        .strength-strong { background: #1e90ff; }
        .strength-very-strong { background: #00b894; }

        .strength-text {
            font-size: 12px;
            color: #6c757d;
            margin-top: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .strength-label {
            font-weight: 500;
        }

        .strength-percentage {
            font-weight: 600;
        }

        .strength-rules {
            margin-top: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: var(--border-radius);
            font-size: 11px;
            color: #6c757d;
            display: none;
        }

        .strength-rule {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 5px;
        }

        .strength-rule i {
            font-size: 10px;
        }

        .strength-rule.valid i {
            color: #28a745;
        }

        .strength-rule.invalid i {
            color: #dc3545;
        }

        /* Password Requirements */
        .password-requirements {
            margin-top: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: var(--border-radius);
            font-size: 12px;
            color: #6c757d;
            display: none;
        }

        .password-requirement {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 5px;
        }

        .password-requirement i {
            font-size: 12px;
            width: 16px;
            text-align: center;
        }

        .password-requirement.valid i {
            color: #28a745;
        }

        .password-requirement.invalid i {
            color: #dc3545;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .login-container {
                flex-direction: column;
                min-height: auto;
                max-width: 500px;
            }
            
            .login-left,
            .login-right {
                padding: 30px;
            }
            
            .login-left {
                order: 2;
            }
            
            .login-right {
                order: 1;
            }
        }

        @media (max-width: 576px) {

        .registration-page-wrapper {
                padding: 10px;
            }

            .login-container {
                margin: 10px;
            }
            
            .login-left,
            .login-right {
                padding: 20px;
            }
            
            .login-tagline h1 {
                font-size: 24px;
            }
            
            .login-header h2 {
                font-size: 24px;
            }
            
            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }
        /* Footer */
        .main-footer {
            background: linear-gradient(180deg, var(--secondary-color) 0%, #1a1a24 100%);
            color: white;
            padding: 80px 0 30px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 20px;
        }

        .footer-logo .logo-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: white;
        }

        .footer-about {
            opacity: 0.8;
            margin-bottom: 25px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-heading {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 3px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-contact li i {
            margin-right: 10px;
            color: var(--accent-color);
            margin-top: 5px;
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            margin-top: 50px;
            text-align: center;
            opacity: 0.7;
            font-size: 0.9rem;
        }
         @media (max-width: 992px) {
            .main-footer {
                padding: 50px 0 25px;
            }
            
            .col-lg-4, .col-lg-3, .col-lg-2 {
                flex: 0 0 50%;
                max-width: 50%;
            }
            
            .mb-5 {
                margin-bottom: 2.5rem !important;
            }
        }

        @media (max-width: 768px) {
            .main-footer {
                padding: 40px 0 20px;
            }
            
            .col-lg-4, .col-lg-3, .col-lg-2, .col-md-6 {
                flex: 0 0 100%;
                max-width: 100%;
            }
            
            .footer-heading {
                font-size: 16px;
            }
            
            .footer-about {
                font-size: 13px;
            }
            
            .footer-links a,
            .footer-contact span {
                font-size: 13px;
            }
            
            .copyright p {
                font-size: 12px;
            }
        }

        @media (max-width: 576px) {
            .main-footer {
                padding: 30px 0 15px;
            }
            
            .social-links {
                justify-content: center;
            }
            
            .footer-logo {
                justify-content: center;
            }
            
            .footer-heading {
                text-align: center;
            }
            
            .footer-heading::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-links {
                text-align: center;
            }
            
            .footer-contact li {
                justify-content: center;
                text-align: center;
            }
        }
        /* Header Styles */
        .main-header {
            background: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            /* position: fixed; */
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: var(--transition);
            width: 100%;
        }

        .main-header.scrolled {
            padding: 10px 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .navbar {
            padding: 20px 0;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-color);
        }

        .navbar-brand .logo-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: white;
        }

        .nav-link {
            font-weight: 500;
            padding: 10px 20px !important;
            margin: 0 5px;
            border-radius: var(--border-radius-sm);
            transition: var(--transition);
        }

        .nav-link:hover, .nav-link.active {
            background: rgba(138, 66, 255, 0.1);
            color: var(--primary-color);
        }

        .navbar-toggler {
            border: none;
            padding: 8px 10px;
            border-radius: var(--border-radius-sm);
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28138, 66, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

