
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            background-color: var(--bg-color, #f8fafc);
            margin: 0;
        }

        /* Top navbar centered layout with controlled logo size */
        .top-navbar {
            padding: 0.75rem 1.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #ffffff;
            border-bottom: 2px solid var(--primary-theme, #af76d1);
            box-shadow: 0 4px 6px -1px rgba(175, 118, 209, 0.1);
        }
        .top-navbar .nav-brand {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .top-navbar .nav-brand img {
            height: 100px;
            width: auto;
            object-fit: contain;
            display: block;
        }

        .login-main-container {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1rem;
        }
        .login-card {
            background: #ffffff;
            border: 1px solid var(--border-color, #e2e8f0);
            border-radius: 12px;
            padding: 2.5rem;
            width: 100%;
            max-width: 440px;
            box-shadow: 0 10px 25px -5px rgba(175, 118, 209, 0.1), 0 8px 10px -6px rgba(175, 118, 209, 0.1);
        }
        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        .login-header .icon-container {
            width: 50px;
            height: 50px;
            background-color: var(--primary-light, #f7f1fc);
            color: var(--primary-color, #af76d1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            margin: 0 auto 1rem auto;
        }
        .login-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark, #0f172a);
            margin-bottom: 0.35rem;
        }
        .login-header p {
            color: var(--text-muted, #475569);
            font-size: 0.9rem;
            margin: 0;
        }
        .form-group {
            margin-bottom: 1.25rem;
        }
        .form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-main, #0f172a);
            margin-bottom: 0.5rem;
        }
        .input-with-icon {
            position: relative;
            display: flex;
            align-items: center;
        }
        .input-with-icon i {
            position: absolute;
            left: 1rem;
            color: var(--text-muted, #475569);
            font-size: 0.9rem;
        }
        .input-with-icon input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.75rem;
            font-size: 0.95rem;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            outline: none;
            transition: all 0.2s ease;
            background-color: #fff;
            box-sizing: border-box;
        }
        .input-with-icon input:focus {
            border-color: var(--primary-color, #af76d1);
            box-shadow: 0 0 0 3px rgba(175, 118, 209, 0.15);
        }
        .form-actions {
            margin-top: 1.75rem;
        }
        .btn-login {
            width: 100%;
            background-color: var(--primary-color, #af76d1);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: background-color 0.2s;
        }
        .btn-login:hover {
            background-color: var(--primary-hover, #9b5bc7);
        }
        .error-message {
            background-color: #fef2f2;
            color: #dc2626;
            border: 1px solid #fecaca;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-size: 0.875rem;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Fixed clean styling for footer matching the primary theme */
        .site-footer {
            background-color: var(--primary-color, #af76d1) !important;
            color: #ffffff !important;
            text-align: center;
            padding: 1rem;
            font-size: 0.85rem;
            font-weight: 500;
            margin-top: auto;
            border-top: 1px solid var(--border-color, #e2e8f0);
        }
 