        @font-face {
            font-family: 'SiyamRupali';
            src: local('Siyam Rupali'), local('SiyamRupali'),
                 url('https://cdn.jsdelivr.net/gh/ronniesong0211/bangla-fonts@main/Siyam%20Rupali.woff2') format('woff2'),
                 url('https://cdn.jsdelivr.net/gh/ronniesong0211/bangla-fonts@main/Siyam%20Rupali.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }
        
        @font-face {
            font-family: 'SolaimanLipi';
            src: local('Solaiman Lipi'), local('SolaimanLipi'),
                 url('https://cdn.jsdelivr.net/gh/ronniesong0211/bangla-fonts@main/SolaimanLipi_20-04-07.woff2') format('woff2'),
                 url('https://cdn.jsdelivr.net/gh/ronniesong0211/bangla-fonts@main/SolaimanLipi_20-04-07.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        :root {
            --primary: #007bff;
            --primary-light: #339dff;
            --primary-dark: #0056b3;
            --primary-gradient: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            --success: #059669;
            --danger: #dc2626;
            --warning: #d97706;
            --info: #0891b2;
            --bg: #f0f2f5;
            --surface: #ffffff;
            --text: #1e293b;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
        }

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

        body {
            font-family: 'SiyamRupali', 'SolaimanLipi', 'Noto Sans Bengali', 'Bangla Sangam MN', 'MuktiNarrow', 'Times New Roman', serif;
            font-weight: bold;
            direction: ltr;
            line-height: 1.5;
            font-size: 14px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: var(--primary-gradient);
            background-attachment: fixed;
            overflow-x: hidden;
        }

        /* Animated background shapes */
        body::before,
        body::after {
            content: '';
            position: fixed;
            border-radius: 50%;
            z-index: 0;
            opacity: 0.08;
            background: white;
        }
        body::before {
            width: 600px;
            height: 600px;
            top: -200px;
            right: -150px;
            animation: floatBg 20s ease-in-out infinite;
        }
        body::after {
            width: 400px;
            height: 400px;
            bottom: -100px;
            left: -100px;
            animation: floatBg 15s ease-in-out infinite reverse;
        }

        @keyframes floatBg {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -30px) scale(1.05); }
        }

        /* Login Content Area */
        .login-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 20px;
            position: relative;
            z-index: 1;
        }

        /* Login Card */
        .login-card {
            max-width: 400px;
            width: 100%;
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            overflow: hidden;
            animation: slideUp 0.5s ease-out;
        }

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

        .login-header {
            background: var(--primary-gradient);
            padding: 24px 24px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .login-header::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            top: -80px;
            right: -60px;
        }
        .login-header::after {
            content: '';
            position: absolute;
            width: 150px;
            height: 150px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            bottom: -60px;
            left: -40px;
        }
        .login-icon {
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 26px;
            color: white;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            position: relative;
            z-index: 1;
        }
        .login-header h1 {
            font-size: 18px;
            margin-bottom: 4px;
            font-weight: bold;
            color: white;
            position: relative;
            z-index: 1;
        }
        .login-header p {
            margin: 0;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.85);
            position: relative;
            z-index: 1;
        }

        .login-body {
            padding: 22px 24px;
        }

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

        .form-label {
            font-weight: bold;
            margin-bottom: 6px;
            display: block;
            color: var(--text);
            font-size: 13px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 14px;
            color: var(--text-muted);
            font-size: 18px;
            z-index: 2;
            transition: color 0.3s;
        }

        .form-control {
            width: 100%;
            padding: 10px 14px 10px 40px;
            border: 2px solid var(--border);
            border-radius: var(--radius);
            font-size: 14px;
            font-family: inherit;
            font-weight: bold;
            color: var(--text);
            background: var(--surface);
            transition: all 0.3s ease;
            outline: none;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
        }

        .form-control:focus ~ .input-icon,
        .form-control:focus + .input-icon {
            color: var(--primary);
        }

        .form-control::placeholder {
            color: var(--text-muted);
            font-weight: normal;
        }

        .password-toggle {
            position: absolute;
            right: 14px;
            cursor: pointer;
            color: var(--text-muted);
            z-index: 2;
            font-size: 18px;
            transition: color 0.3s;
            background: none;
            border: none;
            padding: 4px;
        }

        .password-toggle:hover {
            color: var(--primary);
        }

        /* Remember Me */
        .login-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
        }

        .form-check {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }

        .form-check-input {
            width: 18px;
            height: 18px;
            border: 2px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .form-check-label {
            font-size: 14px;
            color: var(--text-secondary);
            cursor: pointer;
        }

        /* Submit Button */
        .btn-login {
            width: 100%;
            padding: 11px 24px;
            background: var(--primary-gradient);
            border: none;
            border-radius: var(--radius);
            color: white;
            font-size: 15px;
            font-weight: bold;
            font-family: inherit;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
        }

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

        .btn-login::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-login:hover::after {
            left: 100%;
        }

        /* Footer Links */
        .login-footer {
            text-align: center;
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .forgot-link {
            color: var(--primary);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
        }

        .forgot-link:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        /* Alerts */
        .alert {
            border-radius: var(--radius);
            margin-bottom: 16px;
            font-size: 13px;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
        }

        .alert-danger {
            background: #fef2f2;
            color: var(--danger);
            border-left: 4px solid var(--danger);
        }

        .alert-success {
            background: #f0fdf4;
            color: var(--success);
            border-left: 4px solid var(--success);
        }

        .alert-warning {
            background: #fffbeb;
            color: var(--warning);
            border-left: 4px solid var(--warning);
        }

        .alert .btn-close {
            padding: 4px 8px;
            font-size: 12px;
            opacity: 0.6;
        }

        /* Footer */
        .page-footer {
            text-align: center;
            padding: 16px 20px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
            position: relative;
            z-index: 1;
        }
        .page-footer a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }
        .page-footer a:hover {
            color: white;
        }

        /* Responsive */
        @media (max-width: 576px) {
            .login-card {
                margin: 10px;
                border-radius: var(--radius);
            }
            .login-header {
                padding: 20px 18px 18px;
            }
            .login-body {
                padding: 18px 18px;
            }
            .login-icon {
                width: 48px;
                height: 48px;
                font-size: 22px;
            }
            .login-header h1 {
                font-size: 16px;
            }
            .login-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }

        /* App Download Section */
        .app-download-section {
            padding: 0 24px 20px;
        }

        .download-divider {
            text-align: center;
            margin-bottom: 14px;
            position: relative;
        }

        .download-divider::before,
        .download-divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: calc(50% - 90px);
            height: 1px;
            background: var(--border);
        }

        .download-divider::before {
            left: 0;
        }

        .download-divider::after {
            right: 0;
        }

        .download-divider span {
            font-size: 11px;
            color: var(--text-muted);
            background: var(--surface);
            padding: 0 12px;
            position: relative;
            z-index: 1;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: bold;
        }

        .btn-download-app {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border-radius: var(--radius);
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }

        .btn-download-app:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            color: white;
            text-decoration: none;
        }

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

        .btn-download-app i:first-child {
            font-size: 28px;
            opacity: 0.9;
        }

        .download-text {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .download-label {
            font-size: 14px;
            font-weight: bold;
            line-height: 1.2;
        }

        .download-sublabel {
            font-size: 11px;
            opacity: 0.85;
            font-weight: normal;
        }

        .download-arrow {
            font-size: 20px;
            opacity: 0.8;
        }

        @media (max-width: 576px) {
            .app-download-section {
                padding: 0 18px 18px;
            }
        }

        @media (max-width: 480px) {
            .login-wrapper {
                padding: 16px 12px;
            }
        }