/* /Components/Account/Pages/ForgotPassword.razor.rz.scp.css */
/* Forgot Password Page Component Styles - Consistent with App Theme */
.login-card[b-j79dkx2f5h] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 400px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.login-header[b-j79dkx2f5h] {
    text-align: center;
    padding: 32px 32px 24px;
    background: white;
    border-bottom: 1px solid #f3f4f6;
}

.login-logo[b-j79dkx2f5h] {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.login-title[b-j79dkx2f5h] {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.login-subtitle[b-j79dkx2f5h] {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.login-body[b-j79dkx2f5h] {
    padding: 24px 32px 32px;
}

.login-form[b-j79dkx2f5h] {
    margin-bottom: 24px;
}

.form-group[b-j79dkx2f5h] {
    margin-bottom: 20px;
}

.form-label[b-j79dkx2f5h] {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
    display: block;
}

.input-group[b-j79dkx2f5h] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-j79dkx2f5h] {
    position: absolute;
    left: 12px;
    z-index: 10;
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
}

.form-control[b-j79dkx2f5h] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.15s ease;
    background: #ffffff;
    color: #111827 !important;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
    line-height: 1.5;
}

.form-control:focus[b-j79dkx2f5h] {
    outline: none;
    border-color: #374151;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
    background: #ffffff;
    color: #111827 !important;
}

.form-control[b-j79dkx2f5h]::placeholder {
    color: #9ca3af !important;
    font-weight: 400;
    opacity: 1;
}

/* Ensure text is visible in all states */
.form-control:-webkit-autofill[b-j79dkx2f5h],
.form-control:-webkit-autofill:hover[b-j79dkx2f5h],
.form-control:-webkit-autofill:focus[b-j79dkx2f5h],
.form-control:-webkit-autofill:active[b-j79dkx2f5h] {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #111827 !important;
    box-shadow: 0 0 0 30px #ffffff inset !important;
    color: #111827 !important;
}

.btn-login[b-j79dkx2f5h] {
    width: 100%;
    background: #374151;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.btn-login:hover[b-j79dkx2f5h] {
    background: #1f2937;
}

.btn-text[b-j79dkx2f5h] {
    font-weight: 500;
}

.login-footer[b-j79dkx2f5h] {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.signup-text[b-j79dkx2f5h] {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.link-signup[b-j79dkx2f5h] {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.link-signup:hover[b-j79dkx2f5h] {
    color: #111827;
    text-decoration: underline;
}

.alert-danger[b-j79dkx2f5h] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.text-danger[b-j79dkx2f5h] {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .login-card[b-j79dkx2f5h] {
        max-width: 95%;
        margin: 16px;
        border-radius: 6px;
    }

    .login-header[b-j79dkx2f5h] {
        padding: 24px 24px 20px;
    }

    .login-body[b-j79dkx2f5h] {
        padding: 20px 24px 24px;
    }

    .login-title[b-j79dkx2f5h] {
        font-size: 20px;
    }

    .form-control[b-j79dkx2f5h] {
        padding: 10px 10px 10px 36px;
        font-size: 16px;
    }

    .btn-login[b-j79dkx2f5h] {
        padding: 10px 14px;
    }
}
/* /Components/Account/Pages/Lockout.razor.rz.scp.css */
/* Lockout Page Component Styles - Consistent with App Theme */
.login-card[b-g7y7vhkf5w] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 400px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.login-header[b-g7y7vhkf5w] {
    text-align: center;
    padding: 32px 32px 24px;
    background: white;
    border-bottom: 1px solid #f3f4f6;
}

.login-logo[b-g7y7vhkf5w] {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.login-title[b-g7y7vhkf5w] {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.login-subtitle[b-g7y7vhkf5w] {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.login-body[b-g7y7vhkf5w] {
    padding: 24px 32px 32px;
}

.login-footer[b-g7y7vhkf5w] {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.signup-text[b-g7y7vhkf5w], .resend-text[b-g7y7vhkf5w] {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.link-signup[b-g7y7vhkf5w] {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.link-signup:hover[b-g7y7vhkf5w] {
    color: #111827;
    text-decoration: underline;
}

.link-muted[b-g7y7vhkf5w] {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.link-muted:hover[b-g7y7vhkf5w] {
    color: #6b7280;
    text-decoration: underline;
}

.alert-danger[b-g7y7vhkf5w] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .login-card[b-g7y7vhkf5w] {
        max-width: 95%;
        margin: 16px;
        border-radius: 6px;
    }

    .login-header[b-g7y7vhkf5w] {
        padding: 24px 24px 20px;
    }

    .login-body[b-g7y7vhkf5w] {
        padding: 20px 24px 24px;
    }

    .login-title[b-g7y7vhkf5w] {
        font-size: 20px;
    }
}
/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Login Page Component Styles - Clean White Design with High Specificity */

/* Main container that wraps the entire login content - override any global styles */
.login-container[b-acyitdn8to] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 20px !important;
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Override any inherited dark theme */
.login-container *[b-acyitdn8to] {
    box-sizing: border-box !important;
}

.login-card[b-acyitdn8to] {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    max-width: 400px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    z-index: 2 !important;
}

.login-header[b-acyitdn8to] {
    text-align: center !important;
    padding: 48px 48px 32px !important;
    background: #ffffff !important;
    position: relative !important;
}

.logo-container[b-acyitdn8to] {
    margin-bottom: 32px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.login-logo[b-acyitdn8to] {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
}

.login-title[b-acyitdn8to] {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.025em !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.login-subtitle[b-acyitdn8to] {
    color: #6b7280 !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.login-body[b-acyitdn8to] {
    padding: 0 48px 48px !important;
    background: #ffffff !important;
}

.login-form[b-acyitdn8to] {
    margin: 0 !important;
}

.login-form .form-group[b-acyitdn8to] {
    margin-bottom: 20px !important;
    position: relative !important;
}

.login-form .form-label[b-acyitdn8to] {
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
    display: block !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Clean input styling without icons - maximum specificity */
.login-container .login-card .login-body .login-form .login-input.form-control[b-acyitdn8to],
.login-container .login-card .login-body .login-form input.login-input.form-control[b-acyitdn8to],
.login-form .form-group .login-input.form-control[b-acyitdn8to],
.login-form .login-input.form-control[b-acyitdn8to],
.login-form input.login-input.form-control[b-acyitdn8to],
input.login-input.form-control[b-acyitdn8to] {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif' !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    display: block !important;
    letter-spacing: normal !important;
    outline: none !important;
}

/* Focus states with maximum specificity */
.login-container .login-card .login-body .login-form .login-input.form-control:focus[b-acyitdn8to],
.login-container .login-card .login-body .login-form input.login-input.form-control:focus[b-acyitdn8to],
.login-form .form-group .login-input.form-control:focus[b-acyitdn8to],
.login-form .login-input.form-control:focus[b-acyitdn8to],
.login-form input.login-input.form-control:focus[b-acyitdn8to],
input.login-input.form-control:focus[b-acyitdn8to] {
    outline: none !important;
    border-color: #3195FF !important;
    box-shadow: 0 0 0 3px rgba(49, 149, 255, 0.1) !important;
    background: #ffffff !important;
    color: #111827 !important;
    padding: 12px 14px !important;
}

.login-form .login-input.form-control[b-acyitdn8to]::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Ensure text is visible in all states including autofill */
.login-form .login-input.form-control:-webkit-autofill[b-acyitdn8to],
.login-form .login-input.form-control:-webkit-autofill:hover[b-acyitdn8to],
.login-form .login-input.form-control:-webkit-autofill:focus[b-acyitdn8to],
.login-form .login-input.form-control:-webkit-autofill:active[b-acyitdn8to] {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #111827 !important;
    box-shadow: 0 0 0 30px #ffffff inset !important;
    color: #111827 !important;
    font-weight: 400 !important;
}

.login-form .form-check[b-acyitdn8to] {
    margin: 20px 0 32px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.login-form .form-check-input[b-acyitdn8to] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: #3195FF !important;
    border: 1px solid #d1d5db !important;
    border-radius: 3px !important;
    background: #ffffff !important;
}

.login-form .form-check-label[b-acyitdn8to] {
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.login-form .btn-login[b-acyitdn8to] {
    width: 100% !important;
    background: #3195FF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    outline: none !important;
    text-decoration: none !important;
}

.login-form .btn-login:hover[b-acyitdn8to] {
    background: #2878E6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(49, 149, 255, 0.25) !important;
}

.login-form .btn-login:active[b-acyitdn8to] {
    transform: translateY(0) !important;
    background: #1F5BCC !important;
}

.login-form .btn-text[b-acyitdn8to] {
    font-weight: 500 !important;
    letter-spacing: 0.025em !important;
    color: #ffffff !important;
}

.login-form .btn-arrow[b-acyitdn8to] {
    font-weight: normal !important;
    font-size: 14px !important;
    color: #ffffff !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1 !important;
}

/* Alert and validation styling */
.login-form .alert-danger[b-acyitdn8to] {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.login-form .text-danger[b-acyitdn8to] {
    color: #dc2626 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    display: block !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Animation for status messages */
.login-form .alert[b-acyitdn8to] {
    animation: slideIn-b-acyitdn8to 0.3s ease-out !important;
}

@keyframes slideIn-b-acyitdn8to {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .login-container[b-acyitdn8to] {
        padding: 20px !important;
        background: #ffffff !important;
    }

    .login-card[b-acyitdn8to] {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }

    .login-header[b-acyitdn8to] {
        padding: 32px 32px 24px !important;
    }

    .logo-container[b-acyitdn8to] {
        margin-bottom: 24px !important;
    }

    .login-logo[b-acyitdn8to] {
        height: 48px !important;
    }

    .login-body[b-acyitdn8to] {
        padding: 0 32px 32px !important;
    }

    .login-title[b-acyitdn8to] {
        font-size: 22px !important;
    }

    /* Mobile specific input styling - clean without icons */
    .login-container .login-card .login-body .login-form .login-input.form-control[b-acyitdn8to],
    .login-container .login-card .login-body .login-form input.login-input.form-control[b-acyitdn8to],
    .login-form .form-group .login-input.form-control[b-acyitdn8to],
    .login-form .login-input.form-control[b-acyitdn8to],
    .login-form input.login-input.form-control[b-acyitdn8to],
    input.login-input.form-control[b-acyitdn8to] {
        padding: 12px 14px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
    }

    .login-form .btn-login[b-acyitdn8to] {
        padding: 14px 20px !important;
        font-size: 16px !important;
    }
}

/* Force override any dark mode styles that might be applied */
@media (prefers-color-scheme: dark) {
    .login-container[b-acyitdn8to] {
        background: #ffffff !important;
    }
    
    .login-card[b-acyitdn8to] {
        background: #ffffff !important;
        border-color: rgba(0, 0, 0, 0.04) !important;
    }
    
    .login-header[b-acyitdn8to], .login-body[b-acyitdn8to] {
        background: #ffffff !important;
    }
    
    .login-title[b-acyitdn8to] {
        color: #1f2937 !important;
    }
    
    .login-subtitle[b-acyitdn8to], .login-form .form-check-label[b-acyitdn8to] {
        color: #6b7280 !important;
    }
    
    .login-form .form-label[b-acyitdn8to] {
        color: #374151 !important;
    }
    
    .login-form .login-input.form-control[b-acyitdn8to],
    .login-form input.login-input.form-control[b-acyitdn8to] {
        background: #ffffff !important;
        border-color: #d1d5db !important;
        color: #1f2937 !important;
    }
    
    .login-form .login-input.form-control:focus[b-acyitdn8to] {
        background: #ffffff !important;
        border-color: #3195FF !important;
    }
    
    .login-form .input-icon[b-acyitdn8to] {
        color: #9ca3af !important;
    }
}
/* /Components/Account/Pages/Register.razor.rz.scp.css */
/* Register Page Component Styles - Consistent with App Theme */
.login-card[b-7ywdjjru5z] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 400px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.login-header[b-7ywdjjru5z] {
    text-align: center;
    padding: 32px 32px 24px;
    background: white;
    border-bottom: 1px solid #f3f4f6;
}

.login-logo[b-7ywdjjru5z] {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.login-title[b-7ywdjjru5z] {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.login-subtitle[b-7ywdjjru5z] {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.login-body[b-7ywdjjru5z] {
    padding: 24px 32px 32px;
}

.login-form[b-7ywdjjru5z] {
    margin-bottom: 24px;
}

.form-group[b-7ywdjjru5z] {
    margin-bottom: 20px;
}

.form-label[b-7ywdjjru5z] {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
    display: block;
}

.input-group[b-7ywdjjru5z] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-7ywdjjru5z] {
    position: absolute;
    left: 12px;
    z-index: 10;
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
}

.form-control[b-7ywdjjru5z] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.15s ease;
    background: #ffffff;
    color: #111827 !important;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
    line-height: 1.5;
}

.form-control:focus[b-7ywdjjru5z] {
    outline: none;
    border-color: #374151;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
    background: #ffffff;
    color: #111827 !important;
}

.form-control[b-7ywdjjru5z]::placeholder {
    color: #9ca3af !important;
    font-weight: 400;
    opacity: 1;
}

/* Ensure text is visible in all states */
.form-control:-webkit-autofill[b-7ywdjjru5z],
.form-control:-webkit-autofill:hover[b-7ywdjjru5z],
.form-control:-webkit-autofill:focus[b-7ywdjjru5z],
.form-control:-webkit-autofill:active[b-7ywdjjru5z] {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #111827 !important;
    box-shadow: 0 0 0 30px #ffffff inset !important;
    color: #111827 !important;
}

.btn-login[b-7ywdjjru5z] {
    width: 100%;
    background: #374151;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.btn-login:hover[b-7ywdjjru5z] {
    background: #1f2937;
}

.btn-text[b-7ywdjjru5z] {
    font-weight: 500;
}

.login-footer[b-7ywdjjru5z] {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.signup-text[b-7ywdjjru5z] {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.link-signup[b-7ywdjjru5z] {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.link-signup:hover[b-7ywdjjru5z] {
    color: #111827;
    text-decoration: underline;
}

.external-login-section[b-7ywdjjru5z] {
    padding: 20px 32px 32px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.divider[b-7ywdjjru5z] {
    position: relative;
    text-align: center;
    margin-bottom: 16px;
}

.divider[b-7ywdjjru5z]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span[b-7ywdjjru5z] {
    background: #f9fafb;
    padding: 0 12px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

.alert-danger[b-7ywdjjru5z] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.text-danger[b-7ywdjjru5z] {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .login-card[b-7ywdjjru5z] {
        max-width: 95%;
        margin: 16px;
        border-radius: 6px;
    }

    .login-header[b-7ywdjjru5z] {
        padding: 24px 24px 20px;
    }

    .login-body[b-7ywdjjru5z] {
        padding: 20px 24px 24px;
    }

    .external-login-section[b-7ywdjjru5z] {
        padding: 16px 24px 24px;
    }

    .login-title[b-7ywdjjru5z] {
        font-size: 20px;
    }

    .form-control[b-7ywdjjru5z] {
        padding: 10px 10px 10px 36px;
        font-size: 16px;
    }

    .btn-login[b-7ywdjjru5z] {
        padding: 10px 14px;
    }
}
/* /Components/Account/Shared/AuthLayout.razor.rz.scp.css */
.auth-page-wrapper[b-330d3t4i3p] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.auth-container[b-330d3t4i3p] {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff !important;
}

.auth-loading[b-330d3t4i3p] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

/* Override any global dark mode styles for auth pages */
.auth-page-wrapper *[b-330d3t4i3p] {
    box-sizing: border-box;
}

/* Force light theme for auth pages even in dark mode */
@media (prefers-color-scheme: dark) {
    .auth-page-wrapper[b-330d3t4i3p] {
        background: #ffffff !important;
    }
    
    .auth-container[b-330d3t4i3p] {
        background: #ffffff !important;
    }
}
/* /Components/Account/Shared/ExternalLoginPicker.razor.rz.scp.css */
/* External Login Provider Styles - Consistent with App Theme */
.external-login-form[b-fj8fwmuw5m] {
    margin: 0;
}

.external-providers[b-fj8fwmuw5m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-external-provider[b-fj8fwmuw5m] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    font-family: 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif';
}

.btn-external-provider:hover[b-fj8fwmuw5m] {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #111827;
}

.btn-external-provider:active[b-fj8fwmuw5m] {
    background: #f3f4f6;
}

.btn-external-provider i[b-fj8fwmuw5m] {
    font-size: 16px;
}

.no-external-providers[b-fj8fwmuw5m] {
    text-align: center;
    padding: 16px;
    background: #f3f4f6;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.no-external-providers .text-muted[b-fj8fwmuw5m] {
    color: #6b7280;
    margin: 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Provider-specific styling - subtle and consistent */
.btn-external-provider[value="Google"]:hover[b-fj8fwmuw5m] {
    border-color: #db4437;
    color: #db4437;
}

.btn-external-provider[value="Microsoft"]:hover[b-fj8fwmuw5m] {
    border-color: #00a4ef;
    color: #00a4ef;
}

.btn-external-provider[value="Facebook"]:hover[b-fj8fwmuw5m] {
    border-color: #1877f2;
    color: #1877f2;
}

.btn-external-provider[value="Twitter"]:hover[b-fj8fwmuw5m] {
    border-color: #1da1f2;
    color: #1da1f2;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .btn-external-provider[b-fj8fwmuw5m] {
        padding: 8px 12px;
        font-size: 13px;
    }
}
/* /Components/Admin/Pages/Agents.razor.rz.scp.css */
/* =============================
   Agents Admin Page Styling - Mobile First
   ============================= */

/* CSS Variables - White/Gray Theme */
:root[b-5ebks8bsf4] {
    --bp-primary: #374151;
    --bp-primary-dark: #1f2937;
    --bp-primary-light: #6b7280;
    --bp-secondary: #4b5563;
    --bp-success: #10b981;
    --bp-error: #ef4444;
    --bp-surface: #ffffff;
    --bp-surface-alt: #f9fafb;
    --bp-surface-hover: #f3f4f6;
    --bp-border: #e5e7eb;
    --bp-border-dark: #d1d5db;
    --bp-text: #111827;
    --bp-text-secondary: #374151;
    --bp-text-muted: #6b7280;
    --bp-border-radius: 12px;
    --bp-border-radius-sm: 8px;
    --bp-border-radius-lg: 16px;
    --bp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --bp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --bp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --bp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --bp-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================
   BASE MOBILE STYLES
   ============================= */

.bp-page-container[b-5ebks8bsf4] {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
    background: var(--bp-surface-alt);
    min-height: 100vh;
}

/* Page header - Mobile First */
.bp-page-header[b-5ebks8bsf4] {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bp-border);
    background: var(--bp-surface);
    padding: 1.5rem;
    border-radius: var(--bp-border-radius);
    box-shadow: var(--bp-shadow-sm);
}

.bp-page-header h1[b-5ebks8bsf4] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.bp-page-subtitle[b-5ebks8bsf4] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Action bar - Mobile First */
.bp-action-bar[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-border-radius);
    box-shadow: var(--bp-shadow-sm);
}

/* Count card - prominent on mobile */
.bp-user-count[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: var(--bp-surface-alt);
    border-radius: var(--bp-border-radius-sm);
    border: 2px solid var(--bp-border);
}

.bp-count-value[b-5ebks8bsf4] {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bp-primary-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.bp-count-label[b-5ebks8bsf4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search container */
.bp-search-container[b-5ebks8bsf4] {
    width: 100%;
}

.bp-search-field[b-5ebks8bsf4] {
    width: 100%;
}

.bp-search-field[b-5ebks8bsf4]  .mud-input-control {
    border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
    transition: var(--bp-transition) !important;
}

.bp-search-field[b-5ebks8bsf4]  .mud-input-control:focus-within {
    border-color: var(--bp-primary) !important;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1) !important;
}

.bp-search-field[b-5ebks8bsf4]  .mud-input {
    color: var(--bp-text) !important;
}

.bp-search-field[b-5ebks8bsf4]  .mud-input::placeholder {
    color: var(--bp-text-muted) !important;
}

/* Controls row */
.bp-controls-row[b-5ebks8bsf4] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.bp-pagesize-select[b-5ebks8bsf4] {
    flex: 0 0 auto;
    min-width: 110px;
}

.bp-pagesize-select[b-5ebks8bsf4]  .mud-input-control {
    border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
}

.bp-create-button[b-5ebks8bsf4] {
    flex: 1;
    height: 48px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    background: var(--bp-primary-dark) !important;
    color: white !important;
    box-shadow: var(--bp-shadow-md) !important;
    transition: var(--bp-transition) !important;
    text-transform: none !important;
    border: none !important;
}

.bp-create-button:hover:not(:disabled)[b-5ebks8bsf4] {
    background: var(--bp-primary) !important;
    box-shadow: var(--bp-shadow-lg) !important;
    transform: translateY(-1px);
}

.bp-create-button:active:not(:disabled)[b-5ebks8bsf4] {
    transform: translateY(0);
    box-shadow: var(--bp-shadow-sm) !important;
}

.bp-btn-text-full[b-5ebks8bsf4] {
    display: none;
}

.bp-btn-text-short[b-5ebks8bsf4] {
    display: inline;
}

.bp-refresh-button[b-5ebks8bsf4] {
    flex: 0 0 auto;
    width: 48px !important;
    height: 48px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
    color: var(--bp-text-secondary) !important;
    transition: var(--bp-transition) !important;
}

.bp-refresh-button:hover[b-5ebks8bsf4] {
    background: var(--bp-surface-hover) !important;
    border-color: var(--bp-border-dark) !important;
    transform: translateY(-1px);
}

/* Loading state */
.bp-loading-container[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 1.5rem;
    background: var(--bp-surface);
    border-radius: var(--bp-border-radius);
    padding: 3rem;
}

.bp-loading-text[b-5ebks8bsf4] {
    font-size: 1rem;
    color: var(--bp-text-muted);
    font-weight: 500;
}

/* Empty state */
.bp-empty-state[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bp-surface);
    border-radius: var(--bp-border-radius);
    border: 2px dashed var(--bp-border);
}

.bp-empty-icon[b-5ebks8bsf4] {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--bp-text-muted);
    opacity: 0.5;
}

.bp-empty-title[b-5ebks8bsf4] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--bp-text);
}

.bp-empty-description[b-5ebks8bsf4] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    line-height: 1.6;
    max-width: 500px;
}

/* =============================
   CARDS - MOBILE FIRST
   ============================= */

.bp-users-list[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Mobile cards - visible by default */
.bp-mobile-cards[b-5ebks8bsf4] {
    display: flex;
}

/* Desktop table - hidden by default */
.bp-users-table-container[b-5ebks8bsf4] {
    display: none;
}

.bp-user-card[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    background: var(--bp-surface);
    border: 2px solid var(--bp-border);
    border-radius: var(--bp-border-radius-lg);
    box-shadow: var(--bp-shadow-sm);
    transition: var(--bp-transition);
    overflow: hidden;
    position: relative;
}

.bp-user-card[b-5ebks8bsf4]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bp-primary-dark);
}

.bp-user-card:hover[b-5ebks8bsf4] {
    border-color: var(--bp-border-dark);
    box-shadow: var(--bp-shadow-md);
    transform: translateY(-2px);
}

/* Card header */
.bp-card-header[b-5ebks8bsf4] {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    align-items: flex-start;
}

.bp-avatar[b-5ebks8bsf4] {
    flex-shrink: 0;
    width: 56px !important;
    height: 56px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    background: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-user-info[b-5ebks8bsf4] {
    flex: 1;
    min-width: 0;
}

.bp-user-email[b-5ebks8bsf4] {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.375rem;
    color: var(--bp-text);
    word-break: break-word;
}

.bp-user-name[b-5ebks8bsf4] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    font-weight: 600;
    word-break: break-word;
}

/* Card details */
.bp-card-details[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0 1.5rem 1rem 1.5rem;
}

.bp-detail-item[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--bp-surface-alt);
    border-radius: var(--bp-border-radius-sm);
    border: 1px solid var(--bp-border);
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
    font-weight: 500;
}

.bp-detail-item .mud-icon[b-5ebks8bsf4] {
    color: var(--bp-text-muted);
    flex-shrink: 0;
}

/* Card actions */
.bp-card-actions[b-5ebks8bsf4] {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bp-surface-alt);
    border-top: 1px solid var(--bp-border);
}

/* =============================
   DESKTOP TABLE STYLES
   ============================= */

.bp-users-table[b-5ebks8bsf4] {
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
    border-radius: var(--bp-border-radius) !important;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--bp-shadow-sm) !important;
}

.bp-users-table[b-5ebks8bsf4]  .mud-table-head {
    background: var(--bp-surface-alt) !important;
}

.bp-users-table[b-5ebks8bsf4]  .mud-table-head .mud-table-cell {
    padding: 1rem 1rem !important;
    border-bottom: 2px solid var(--bp-border) !important;
}

.bp-th-text[b-5ebks8bsf4] {
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    color: var(--bp-text) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-users-table[b-5ebks8bsf4]  .mud-table-row {
    border-bottom: 1px solid var(--bp-border) !important;
    transition: var(--bp-transition);
}

.bp-users-table[b-5ebks8bsf4]  .mud-table-row:hover {
    background: var(--bp-surface-hover) !important;
}

.bp-users-table[b-5ebks8bsf4]  .mud-table-row:last-child {
    border-bottom: none !important;
}

.bp-users-table[b-5ebks8bsf4]  .mud-table-cell {
    padding: 0.875rem 1rem !important;
    vertical-align: middle !important;
}

/* Table cell */
.bp-table-user-cell[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bp-table-avatar[b-5ebks8bsf4] {
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    background: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-table-user-info[b-5ebks8bsf4] {
    flex: 1;
    min-width: 0;
}

.bp-table-user-email[b-5ebks8bsf4] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bp-text);
    line-height: 1.3;
    word-break: break-word;
}

.bp-table-text[b-5ebks8bsf4] {
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
    font-weight: 500;
}

/* Table actions */
.bp-table-actions[b-5ebks8bsf4] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.bp-table-action-btn[b-5ebks8bsf4] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    transition: var(--bp-transition) !important;
    border: 2px solid transparent !important;
    background: var(--bp-surface-alt) !important;
}

.bp-table-action-btn:hover[b-5ebks8bsf4] {
    transform: translateY(-1px);
    box-shadow: var(--bp-shadow-md);
}

.bp-table-action-btn.mud-button-color-primary[b-5ebks8bsf4] {
    color: var(--bp-primary-dark) !important;
}

.bp-table-action-btn.mud-button-color-primary:hover[b-5ebks8bsf4] {
    background: var(--bp-primary-dark) !important;
    color: white !important;
}

/* =============================
   PAGINATION
   ============================= */

.bp-pagination-container[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bp-surface);
    border: 2px solid var(--bp-border);
    border-radius: var(--bp-border-radius);
    box-shadow: var(--bp-shadow-sm);
}

.bp-pagination[b-5ebks8bsf4] {
    display: flex;
    justify-content: center;
}

.bp-pagination-info[b-5ebks8bsf4] {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bp-text-muted);
}

/* =============================
   DIALOGS & FORMS
   ============================= */

.bp-dialog-container[b-5ebks8bsf4] {
    max-width: 600px;
    padding: 0;
}

.bp-form-section[b-5ebks8bsf4] {
    padding: 1.5rem 0;
}

.bp-form-title[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bp-border);
    color: var(--bp-text);
}

.bp-form-title .mud-icon[b-5ebks8bsf4] {
    color: var(--bp-primary-dark);
}

.bp-form-grid[b-5ebks8bsf4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bp-form-field[b-5ebks8bsf4]  .mud-input-control:focus-within {
    border-color: var(--bp-primary) !important;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1) !important;
}

/* Always span all grid columns when the grid has multiple columns */
.bp-form-field-full[b-5ebks8bsf4] {
    grid-column: 1 / -1;
}

/* System prompt wrapper — always full width across all grid columns */
.bp-system-prompt-wrapper[b-5ebks8bsf4] {
    grid-column: 1 / -1;
    width: 100%;
}

.bp-alert[b-5ebks8bsf4] {
    margin-top: 1rem;
    border-radius: var(--bp-border-radius-sm) !important;
}

.bp-dialog-actions[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
}

.bp-dialog-btn[b-5ebks8bsf4] {
    height: 52px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    border: 2px solid !important;
}

.bp-dialog-btn.mud-button-filled[b-5ebks8bsf4] {
    background: var(--bp-primary-dark) !important;
    border-color: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-dialog-btn.mud-button-filled:hover:not(:disabled)[b-5ebks8bsf4] {
    background: var(--bp-primary) !important;
    border-color: var(--bp-primary) !important;
}

.bp-dialog-btn.mud-button-text[b-5ebks8bsf4] {
    background: white !important;
    border-color: var(--bp-border) !important;
    color: var(--bp-text-secondary) !important;
}

.bp-dialog-btn.mud-button-text:hover:not(:disabled)[b-5ebks8bsf4] {
    background: var(--bp-surface-hover) !important;
    border-color: var(--bp-border-dark) !important;
}

/* =============================
   AGENT-SPECIFIC STYLES
   ============================= */

/* Extra: truncated text in table */
.bp-truncate[b-5ebks8bsf4] {
    display: inline-block;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.bp-table-muted[b-5ebks8bsf4] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    font-weight: 500;
}

.bp-status-chip[b-5ebks8bsf4] {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.bp-detail-text[b-5ebks8bsf4] {
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
}

/* =============================
   TABLET STYLES (768px+)
   ============================= */

@media (min-width: 768px) {
    .bp-page-container[b-5ebks8bsf4] {
        padding: 1.5rem;
    }

    .bp-page-header[b-5ebks8bsf4] {
        padding: 2rem;
    }

    .bp-page-header h1[b-5ebks8bsf4] {
        font-size: 2rem;
    }

    .bp-page-subtitle[b-5ebks8bsf4] {
        font-size: 1rem;
    }

    .bp-action-bar[b-5ebks8bsf4] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 1.5rem;
    }

    .bp-user-count[b-5ebks8bsf4] {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .bp-count-value[b-5ebks8bsf4] {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .bp-count-label[b-5ebks8bsf4] {
        font-size: 0.875rem;
    }

    .bp-search-container[b-5ebks8bsf4] {
        flex: 1;
        min-width: 250px;
    }

    .bp-controls-row[b-5ebks8bsf4] {
        gap: 1rem;
    }

    .bp-pagesize-select[b-5ebks8bsf4] {
        min-width: 120px;
    }

    .bp-btn-text-full[b-5ebks8bsf4] {
        display: inline;
    }

    .bp-btn-text-short[b-5ebks8bsf4] {
        display: none;
    }

    /* Switch to table view on tablet and larger */
    .bp-mobile-cards[b-5ebks8bsf4] {
        display: none !important;
    }

    .bp-users-table-container[b-5ebks8bsf4] {
        display: block !important;
    }

    .bp-form-grid[b-5ebks8bsf4] {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-form-field-full[b-5ebks8bsf4] {
        grid-column: 1 / -1;
    }

    .bp-dialog-actions[b-5ebks8bsf4] {
        flex-direction: row;
    }

    .bp-dialog-btn[b-5ebks8bsf4] {
        flex: 1;
    }
}

/* =============================
   DESKTOP STYLES (1024px+)
   ============================= */

@media (min-width: 1024px) {
    .bp-page-container[b-5ebks8bsf4] {
        padding: 2rem;
        max-width: 1400px;
    }

    .bp-page-header[b-5ebks8bsf4] {
        margin-bottom: 2rem;
        padding: 2.5rem;
    }

    .bp-page-header h1[b-5ebks8bsf4] {
        font-size: 2.5rem;
    }

    .bp-action-bar[b-5ebks8bsf4] {
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .bp-user-count[b-5ebks8bsf4] {
        min-width: 180px;
    }

    .bp-empty-state[b-5ebks8bsf4] {
        min-height: 400px;
        padding: 4rem 3rem;
    }

    .bp-empty-icon[b-5ebks8bsf4] {
        font-size: 4rem;
    }

    .bp-empty-title[b-5ebks8bsf4] {
        font-size: 1.5rem;
    }

    /* Enhanced table spacing on larger screens */
    .bp-users-table[b-5ebks8bsf4]  .mud-table-cell {
        padding: 1rem 1.25rem !important;
    }

    .bp-table-user-email[b-5ebks8bsf4] {
        font-size: 1rem;
    }

    .bp-table-text[b-5ebks8bsf4] {
        font-size: 0.9375rem;
    }

    .bp-table-action-btn[b-5ebks8bsf4] {
        width: 40px !important;
        height: 40px !important;
    }
}

/* =============================
   LARGE DESKTOP (1440px+)
   ============================= */

@media (min-width: 1440px) {
    .bp-page-container[b-5ebks8bsf4] {
        max-width: 1600px;
    }

    .bp-users-table[b-5ebks8bsf4]  .mud-table-cell {
        padding: 1.125rem 1.5rem !important;
    }
}

/* Knowledge section */
.bp-knowledge-section[b-5ebks8bsf4] {
    margin-top: 1.5rem;
    border-top: 1px solid var(--mud-palette-divider, #e0e0e0);
    padding-top: 1.25rem;
}

.bp-knowledge-header[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.bp-knowledge-title[b-5ebks8bsf4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Vector store status row */
.bp-vs-status-row[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    margin-bottom: 0.875rem;
}

.bp-vs-status[b-5ebks8bsf4] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.bp-vs-status--linked[b-5ebks8bsf4] {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
}

.bp-vs-status--unlinked[b-5ebks8bsf4] {
    background: rgba(255, 152, 0, 0.12);
    color: #e65100;
}

.bp-vs-status--creating[b-5ebks8bsf4] {
    background: rgba(33, 150, 243, 0.12);
    color: #0d47a1;
}

.bp-knowledge-tags[b-5ebks8bsf4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.bp-knowledge-tag[b-5ebks8bsf4] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--mud-palette-background-grey, #f5f5f5);
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-radius: 1rem;
    padding: 0.25rem 0.375rem 0.25rem 0.625rem;
    font-size: 0.8125rem;
    color: var(--mud-palette-text-primary);
    max-width: 260px;
    transition: background 0.15s;
}

.bp-knowledge-tag:hover[b-5ebks8bsf4] {
    background: var(--mud-palette-action-hover, #eeeeee);
}

.bp-knowledge-tag--deleting[b-5ebks8bsf4] {
    opacity: 0.7;
    pointer-events: none;
}

.bp-knowledge-tag-icon[b-5ebks8bsf4] {
    color: var(--mud-palette-primary, #594ae2) !important;
    flex-shrink: 0;
}

.bp-knowledge-tag-name[b-5ebks8bsf4] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.bp-knowledge-tag-remove[b-5ebks8bsf4] {
    flex-shrink: 0;
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    min-height: 1.5rem !important;
    padding: 0 !important;
    color: var(--mud-palette-text-secondary) !important;
}

.bp-knowledge-tag-remove:hover[b-5ebks8bsf4] {
    color: var(--mud-palette-error, #f44336) !important;
}

.bp-knowledge-tag-spinner[b-5ebks8bsf4] {
    width: 1.25rem !important;
    height: 1.25rem !important;
    min-width: 1.25rem !important;
    min-height: 1.25rem !important;
}

.bp-knowledge-tag-spinner[b-5ebks8bsf4]  svg circle {
    stroke: var(--mud-palette-primary, #594ae2) !important;
}

.bp-knowledge-tag-status[b-5ebks8bsf4] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

.bp-knowledge-empty[b-5ebks8bsf4] {
    font-size: 0.8125rem;
    color: var(--mud-palette-text-secondary);
    font-style: italic;
    margin-bottom: 0.875rem;
}

/* Drop zone label wrapper — makes the whole zone clickable */
.bp-dropzone-label[b-5ebks8bsf4] {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
}

/* Drop zone */
.bp-dropzone[b-5ebks8bsf4] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-height: 110px;
    padding: 1.5rem 1rem;
    border: 2px dashed var(--bp-border-strong, #d1d5db);
    border-radius: var(--bp-border-radius-sm, 0.375rem);
    background: var(--bp-bg-alt, #f9fafb);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: center;
    user-select: none;
}

.bp-dropzone:hover[b-5ebks8bsf4],
.bp-dropzone--active[b-5ebks8bsf4] {
    border-color: var(--bp-primary, #374151);
    background: rgba(55, 65, 81, 0.04);
}

.bp-dropzone--busy[b-5ebks8bsf4] {
    opacity: 0.65;
    pointer-events: none;
}

.bp-dropzone[b-5ebks8bsf4]  .bp-dropzone-icon {
    display: inline-block;
    color: var(--bp-text-muted, #6b7280) !important;
    transition: color 0.15s;
    transform-origin: center;
}

.bp-dropzone--busy[b-5ebks8bsf4]  .bp-dropzone-icon {
    animation: bp-dropzone-spin-pause-b-5ebks8bsf4 2.8s linear infinite;
}

.bp-dropzone--active[b-5ebks8bsf4]  .bp-dropzone-icon {
    color: var(--bp-primary, #374151) !important;
}

@keyframes bp-dropzone-spin-pause-b-5ebks8bsf4 {
    0%,
    12% {
        transform: rotate(0deg);
    }

    45%,
    57% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bp-dropzone-text[b-5ebks8bsf4] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bp-text, #111827);
}

.bp-dropzone-hint[b-5ebks8bsf4] {
    font-size: 0.75rem;
    color: var(--bp-text-muted, #6b7280);
}

.bp-dropzone-label[b-5ebks8bsf4]  .bp-dropzone-input,
.bp-dropzone-label[b-5ebks8bsf4]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

/* Sync status option row */
.bp-sync-option[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Read-only field wrapper */
.bp-readonly-field[b-5ebks8bsf4] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.bp-readonly-label[b-5ebks8bsf4] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
    padding-left: 0.125rem;
}

/* Sync status row (status badge + sync button side by side) */
.bp-sync-status-row[b-5ebks8bsf4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bp-sync-now-btn[b-5ebks8bsf4] {
    flex-shrink: 0;
    margin-left: auto;
}

/* Sync status read-only display */
.bp-sync-display[b-5ebks8bsf4] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.bp-sync-in-sync[b-5ebks8bsf4] {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
}

.bp-sync-out-of-sync[b-5ebks8bsf4] {
    background: rgba(244, 67, 54, 0.12);
    color: #c62828;
}

.bp-sync-pending[b-5ebks8bsf4] {
    background: rgba(255, 152, 0, 0.12);
    color: #e65100;
}

.bp-sync-syncing[b-5ebks8bsf4] {
    background: rgba(33, 150, 243, 0.12);
    color: #0d47a1;
}

/* =============================
   BUTTON COLOR OVERRIDES (::deep MudBlazor)
   ============================= */

/* Override MudBlazor primary color globally for this page */
.bp-page-container[b-5ebks8bsf4]  .mud-button-filled.mud-button-filled-primary,
.bp-page-container[b-5ebks8bsf4]  .mud-button.mud-button-filled.mud-primary {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-button-filled.mud-button-filled-primary:hover,
.bp-page-container[b-5ebks8bsf4]  .mud-button.mud-button-filled.mud-primary:hover {
    background-color: #374151 !important;
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-button-filled.mud-button-filled-primary .mud-button-label,
.bp-page-container[b-5ebks8bsf4]  .mud-button.mud-button-filled.mud-primary .mud-button-label,
.bp-page-container[b-5ebks8bsf4]  .mud-button-filled.mud-button-filled-primary span,
.bp-page-container[b-5ebks8bsf4]  .mud-button.mud-button-filled.mud-primary span {
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-button-filled.mud-button-filled-primary .mud-icon-root,
.bp-page-container[b-5ebks8bsf4]  .mud-button.mud-button-filled.mud-primary .mud-icon-root {
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-icon-button.mud-button-filled-primary,
.bp-page-container[b-5ebks8bsf4]  .mud-icon-button.mud-primary {
    background-color: #f3f4f6 !important;
    color: #374151 !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-icon-button.mud-button-filled-primary:hover,
.bp-page-container[b-5ebks8bsf4]  .mud-icon-button.mud-primary:hover {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-icon-button.mud-primary .mud-icon-root {
    color: #374151 !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-icon-button.mud-primary:hover .mud-icon-root {
    color: white !important;
}

/* Pagination buttons */
.bp-page-container[b-5ebks8bsf4]  .mud-pagination .mud-pagination-item-selected {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-pagination .mud-pagination-item-selected .mud-button-label {
    color: white !important;
}

.bp-page-container[b-5ebks8bsf4]  .mud-pagination .mud-button:hover {
    background-color: #f3f4f6 !important;
}

/* Progress circular primary color */
.bp-page-container[b-5ebks8bsf4]  .mud-progress-circular.mud-primary svg circle {
    stroke: #374151 !important;
}

/* Additional button text color overrides - more specific */
.bp-create-button[b-5ebks8bsf4],
.bp-create-button.mud-button-filled.mud-primary[b-5ebks8bsf4] {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-create-button[b-5ebks8bsf4]  .mud-button-label,
.bp-create-button[b-5ebks8bsf4]  span,
.bp-create-button[b-5ebks8bsf4]  .mud-icon-root {
    color: white !important;
}

.bp-create-button:hover[b-5ebks8bsf4] {
    background-color: #374151 !important;
}

.bp-dialog-btn.mud-button-filled[b-5ebks8bsf4]  .mud-button-label,
.bp-dialog-btn.mud-button-filled[b-5ebks8bsf4]  span,
.bp-dialog-btn.mud-button-filled[b-5ebks8bsf4]  .mud-icon-root,
.bp-dialog-btn.mud-button-filled[b-5ebks8bsf4]  svg {
    color: white !important;
    fill: white !important;
}

/* Force white text on all primary filled buttons within the container */
.bp-page-container .mud-button.mud-button-filled.mud-primary *[b-5ebks8bsf4] {
    color: white !important;
}
/* /Components/Admin/Pages/Users.razor.rz.scp.css */
/* =============================
   Users Admin Page Styling - Mobile First
   ============================= */

/* CSS Variables - White/Gray Theme */
:root[b-j12hz9cr9a] {
    --bp-primary: #374151;
    --bp-primary-dark: #1f2937;
    --bp-primary-light: #6b7280;
    --bp-secondary: #4b5563;
    --bp-success: #10b981;
    --bp-error: #ef4444;
    --bp-surface: #ffffff;
    --bp-surface-alt: #f9fafb;
    --bp-surface-hover: #f3f4f6;
    --bp-border: #e5e7eb;
    --bp-border-dark: #d1d5db;
    --bp-text: #111827;
    --bp-text-secondary: #374151;
    --bp-text-muted: #6b7280;
    --bp-border-radius: 12px;
    --bp-border-radius-sm: 8px;
    --bp-border-radius-lg: 16px;
    --bp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --bp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --bp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --bp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --bp-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================
   BASE MOBILE STYLES
   ============================= */

.bp-page-container[b-j12hz9cr9a] {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
    background: var(--bp-surface-alt);
    min-height: 100vh;
}

/* Page header - Mobile First */
.bp-page-header[b-j12hz9cr9a] {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bp-border);
    background: var(--bp-surface);
    padding: 1.5rem;
    border-radius: var(--bp-border-radius);
    box-shadow: var(--bp-shadow-sm);
}

.bp-page-header h1[b-j12hz9cr9a] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.bp-page-subtitle[b-j12hz9cr9a] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Action bar - Mobile First */
.bp-action-bar[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-border-radius);
    box-shadow: var(--bp-shadow-sm);
}

/* User count card - prominent on mobile */
.bp-user-count[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
  align-items: center;
    justify-content: center;
    padding: 1.25rem;
 background: var(--bp-surface-alt);
  border-radius: var(--bp-border-radius-sm);
    border: 2px solid var(--bp-border);
}

.bp-count-value[b-j12hz9cr9a] {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bp-primary-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.bp-count-label[b-j12hz9cr9a] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search container */
.bp-search-container[b-j12hz9cr9a] {
    width: 100%;
}

.bp-search-field[b-j12hz9cr9a] {
  width: 100%;
}

.bp-search-field[b-j12hz9cr9a]  .mud-input-control {
    border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
    transition: var(--bp-transition) !important;
}

.bp-search-field[b-j12hz9cr9a]  .mud-input-control:focus-within {
    border-color: var(--bp-primary) !important;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1) !important;
}

.bp-search-field[b-j12hz9cr9a]  .mud-input {
    color: var(--bp-text) !important;
}

.bp-search-field[b-j12hz9cr9a]  .mud-input::placeholder {
  color: var(--bp-text-muted) !important;
}

/* Controls row */
.bp-controls-row[b-j12hz9cr9a] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.bp-pagesize-select[b-j12hz9cr9a] {
    flex: 0 0 auto;
    min-width: 110px;
}

.bp-pagesize-select[b-j12hz9cr9a]  .mud-input-control {
    border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
}

.bp-create-button[b-j12hz9cr9a] {
    flex: 1;
    height: 48px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    font-weight: 600 !important;
  font-size: 0.9375rem !important;
    background: var(--bp-primary-dark) !important;
    color: white !important;
    box-shadow: var(--bp-shadow-md) !important;
    transition: var(--bp-transition) !important;
    text-transform: none !important;
  border: none !important;
}

.bp-create-button:hover:not(:disabled)[b-j12hz9cr9a] {
    background: var(--bp-primary) !important;
    box-shadow: var(--bp-shadow-lg) !important;
    transform: translateY(-1px);
}

.bp-create-button:active:not(:disabled)[b-j12hz9cr9a] {
    transform: translateY(0);
    box-shadow: var(--bp-shadow-sm) !important;
}

.bp-btn-text-full[b-j12hz9cr9a] {
    display: none;
}

.bp-btn-text-short[b-j12hz9cr9a] {
    display: inline;
}

.bp-refresh-button[b-j12hz9cr9a] {
  flex: 0 0 auto;
width: 48px !important;
    height: 48px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
    color: var(--bp-text-secondary) !important;
    transition: var(--bp-transition) !important;
}

.bp-refresh-button:hover[b-j12hz9cr9a] {
    background: var(--bp-surface-hover) !important;
    border-color: var(--bp-border-dark) !important;
    transform: translateY(-1px);
}

/* Loading state */
.bp-loading-container[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 1.5rem;
    background: var(--bp-surface);
    border-radius: var(--bp-border-radius);
    padding: 3rem;
}

.bp-loading-text[b-j12hz9cr9a] {
    font-size: 1rem;
    color: var(--bp-text-muted);
    font-weight: 500;
}

/* Empty state */
.bp-empty-state[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bp-surface);
    border-radius: var(--bp-border-radius);
    border: 2px dashed var(--bp-border);
}

.bp-empty-icon[b-j12hz9cr9a] {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--bp-text-muted);
    opacity: 0.5;
}

.bp-empty-title[b-j12hz9cr9a] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--bp-text);
}

.bp-empty-description[b-j12hz9cr9a] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    line-height: 1.6;
    max-width: 500px;
}

/* =============================
   USER CARDS - MOBILE FIRST
   ============================= */

.bp-users-list[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
  gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Mobile cards - visible by default */
.bp-mobile-cards[b-j12hz9cr9a] {
    display: flex;
}

/* Desktop table - hidden by default */
.bp-users-table-container[b-j12hz9cr9a] {
    display: none;
}

.bp-user-card[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
    background: var(--bp-surface);
    border: 2px solid var(--bp-border);
    border-radius: var(--bp-border-radius-lg);
    box-shadow: var(--bp-shadow-sm);
    transition: var(--bp-transition);
    overflow: hidden;
    position: relative;
}

.bp-user-card[b-j12hz9cr9a]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
 height: 4px;
    background: var(--bp-primary-dark);
}

.bp-user-card:hover[b-j12hz9cr9a] {
    border-color: var(--bp-border-dark);
    box-shadow: var(--bp-shadow-md);
    transform: translateY(-2px);
}

/* Card header */
.bp-card-header[b-j12hz9cr9a] {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
align-items: flex-start;
}

.bp-avatar[b-j12hz9cr9a] {
flex-shrink: 0;
    width: 56px !important;
    height: 56px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    background: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-user-info[b-j12hz9cr9a] {
    flex: 1;
    min-width: 0;
}

.bp-user-email[b-j12hz9cr9a] {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.375rem;
    color: var(--bp-text);
    word-break: break-word;
}

.bp-user-name[b-j12hz9cr9a] {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
    font-weight: 600;
    word-break: break-word;
}

/* Card details */
.bp-card-details[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
gap: 0.625rem;
    padding: 0 1.5rem 1rem 1.5rem;
}

.bp-detail-item[b-j12hz9cr9a] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--bp-surface-alt);
    border-radius: var(--bp-border-radius-sm);
    border: 1px solid var(--bp-border);
    font-size: 0.875rem;
  color: var(--bp-text-secondary);
    font-weight: 500;
}

.bp-detail-item .mud-icon[b-j12hz9cr9a] {
    color: var(--bp-text-muted);
    flex-shrink: 0;
}

/* Card roles */
.bp-card-roles[b-j12hz9cr9a] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--bp-border);
    display: flex;
 flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    min-height: 3.5rem;
    background: var(--bp-surface-alt);
}

/* Role badges */
.bp-role-badge[b-j12hz9cr9a] {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--bp-border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--bp-transition);
    border: 2px solid;
}

.bp-role-badge:hover[b-j12hz9cr9a] {
    transform: translateY(-1px);
}

.bp-role-badge.admin[b-j12hz9cr9a] {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.bp-role-badge.coach[b-j12hz9cr9a] {
    background: #d1fae5;
  color: #065f46;
 border-color: #6ee7b7;
}

.bp-role-badge.user[b-j12hz9cr9a] {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

/* Card actions */
.bp-card-actions[b-j12hz9cr9a] {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bp-surface-alt);
    border-top: 1px solid var(--bp-border);
}

.bp-action-btn[b-j12hz9cr9a] {
    height: 48px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    transition: var(--bp-transition) !important;
  text-transform: none !important;
    border: 2px solid !important;
}

.bp-action-btn.mud-button-filled[b-j12hz9cr9a] {
    background: var(--bp-primary-dark) !important;
    border-color: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-action-btn.mud-button-filled:hover:not(:disabled)[b-j12hz9cr9a] {
    background: var(--bp-primary) !important;
    border-color: var(--bp-primary) !important;
    transform: translateY(-1px);
    box-shadow: var(--bp-shadow-md);
}

.bp-action-btn.mud-button-outlined[b-j12hz9cr9a] {
    background: white !important;
    border-color: var(--bp-error) !important;
    color: var(--bp-error) !important;
}

.bp-action-btn.mud-button-outlined:hover:not(:disabled)[b-j12hz9cr9a] {
    background: #fef2f2 !important;
    transform: translateY(-1px);
}

/* =============================
   DESKTOP TABLE STYLES
   ============================= */

.bp-users-table[b-j12hz9cr9a] {
    background: var(--bp-surface) !important;
    border: 2px solid var(--bp-border) !important;
    border-radius: var(--bp-border-radius) !important;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--bp-shadow-sm) !important;
}

.bp-users-table[b-j12hz9cr9a]  .mud-table-head {
    background: var(--bp-surface-alt) !important;
}

.bp-users-table[b-j12hz9cr9a]  .mud-table-head .mud-table-cell {
    padding: 1rem 1rem !important;
border-bottom: 2px solid var(--bp-border) !important;
}

.bp-th-text[b-j12hz9cr9a] {
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    color: var(--bp-text) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-users-table[b-j12hz9cr9a]  .mud-table-row {
    border-bottom: 1px solid var(--bp-border) !important;
    transition: var(--bp-transition);
}

.bp-users-table[b-j12hz9cr9a]  .mud-table-row:hover {
    background: var(--bp-surface-hover) !important;
}

.bp-users-table[b-j12hz9cr9a]  .mud-table-row:last-child {
    border-bottom: none !important;
}

.bp-users-table[b-j12hz9cr9a]  .mud-table-cell {
    padding: 0.875rem 1rem !important;
 vertical-align: middle !important;
}

/* Table user cell */
.bp-table-user-cell[b-j12hz9cr9a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bp-table-avatar[b-j12hz9cr9a] {
  flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    background: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-table-user-info[b-j12hz9cr9a] {
    flex: 1;
    min-width: 0;
}

.bp-table-user-email[b-j12hz9cr9a] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bp-text);
    line-height: 1.3;
    word-break: break-word;
}

.bp-table-user-name[b-j12hz9cr9a] {
  font-size: 0.8125rem;
    color: var(--bp-text-muted);
    font-weight: 500;
    word-break: break-word;
}

.bp-table-text[b-j12hz9cr9a] {
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
    font-weight: 500;
}

.bp-table-text-muted[b-j12hz9cr9a] {
 font-size: 0.875rem;
    color: var(--bp-text-muted);
    font-weight: 500;
}

/* Table roles */
.bp-table-roles[b-j12hz9cr9a] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    align-items: center;
}

.bp-table-roles .bp-role-badge[b-j12hz9cr9a] {
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
}

/* Table actions */
.bp-table-actions[b-j12hz9cr9a] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.bp-table-action-btn[b-j12hz9cr9a] {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    transition: var(--bp-transition) !important;
    border: 2px solid transparent !important;
    background: var(--bp-surface-alt) !important;
}

.bp-table-action-btn:hover[b-j12hz9cr9a] {
    transform: translateY(-1px);
    box-shadow: var(--bp-shadow-md);
}

.bp-table-action-btn.mud-button-color-primary[b-j12hz9cr9a] {
    color: var(--bp-primary-dark) !important;
}

.bp-table-action-btn.mud-button-color-primary:hover[b-j12hz9cr9a] {
    background: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-table-action-btn.mud-button-color-error[b-j12hz9cr9a] {
    color: var(--bp-error) !important;
}

.bp-table-action-btn.mud-button-color-error:hover[b-j12hz9cr9a] {
    background: var(--bp-error) !important;
    color: white !important;
}

/* =============================
   PAGINATION
   ============================= */

.bp-pagination-container[b-j12hz9cr9a] {
display: flex;
    flex-direction: column;
 align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bp-surface);
    border: 2px solid var(--bp-border);
  border-radius: var(--bp-border-radius);
    box-shadow: var(--bp-shadow-sm);
}

.bp-pagination[b-j12hz9cr9a] {
    display: flex;
    justify-content: center;
}

.bp-pagination-info[b-j12hz9cr9a] {
 text-align: center;
    font-size: 0.875rem;
 font-weight: 500;
    color: var(--bp-text-muted);
}

/* =============================
   DIALOGS & FORMS
   ============================= */

.bp-dialog-container[b-j12hz9cr9a] {
    max-width: 600px;
    padding: 0;
}

.bp-form-section[b-j12hz9cr9a] {
    padding: 1.5rem 0;
}

.bp-form-title[b-j12hz9cr9a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
 font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bp-border);
    color: var(--bp-text);
}

.bp-form-title .mud-icon[b-j12hz9cr9a] {
    color: var(--bp-primary-dark);
}

.bp-form-grid[b-j12hz9cr9a] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bp-form-field[b-j12hz9cr9a]  .mud-input-control {
  border-radius: var(--bp-border-radius-sm) !important;
    background: var(--bp-surface) !important;
 border: 2px solid var(--bp-border) !important;
}

.bp-form-field[b-j12hz9cr9a]  .mud-input-control:focus-within {
    border-color: var(--bp-primary) !important;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1) !important;
}

.bp-alert[b-j12hz9cr9a] {
    margin-top: 1rem;
    border-radius: var(--bp-border-radius-sm) !important;
}

.bp-dialog-actions[b-j12hz9cr9a] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
}

.bp-dialog-btn[b-j12hz9cr9a] {
    height: 52px !important;
    border-radius: var(--bp-border-radius-sm) !important;
    font-weight: 600 !important;
 font-size: 1rem !important;
  text-transform: none !important;
    border: 2px solid !important;
}

.bp-dialog-btn.mud-button-filled[b-j12hz9cr9a] {
    background: var(--bp-primary-dark) !important;
    border-color: var(--bp-primary-dark) !important;
    color: white !important;
}

.bp-dialog-btn.mud-button-filled:hover:not(:disabled)[b-j12hz9cr9a] {
    background: var(--bp-primary) !important;
    border-color: var(--bp-primary) !important;
}

.bp-dialog-btn.mud-button-text[b-j12hz9cr9a] {
    background: white !important;
    border-color: var(--bp-border) !important;
    color: var(--bp-text-secondary) !important;
}

.bp-dialog-btn.mud-button-text:hover:not(:disabled)[b-j12hz9cr9a] {
    background: var(--bp-surface-hover) !important;
    border-color: var(--bp-border-dark) !important;
}

/* =============================
   TABLET STYLES (768px+)
   ============================= */

@media (min-width: 768px) {
    .bp-page-container[b-j12hz9cr9a] {
        padding: 1.5rem;
    }

    .bp-page-header[b-j12hz9cr9a] {
      padding: 2rem;
 }

    .bp-page-header h1[b-j12hz9cr9a] {
        font-size: 2rem;
    }

    .bp-page-subtitle[b-j12hz9cr9a] {
        font-size: 1rem;
    }

 .bp-action-bar[b-j12hz9cr9a] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
   padding: 1.5rem;
    }

    .bp-user-count[b-j12hz9cr9a] {
        flex-direction: row;
        gap: 1rem;
  padding: 1rem 1.5rem;
    }

    .bp-count-value[b-j12hz9cr9a] {
     font-size: 2rem;
        margin-bottom: 0;
    }

    .bp-count-label[b-j12hz9cr9a] {
     font-size: 0.875rem;
    }

    .bp-search-container[b-j12hz9cr9a] {
 flex: 1;
        min-width: 250px;
    }

    .bp-controls-row[b-j12hz9cr9a] {
   gap: 1rem;
    }

    .bp_pagesize_select[b-j12hz9cr9a] {
        min-width: 120px;
    }

    .bp-btn-text-full[b-j12hz9cr9a] {
        display: inline;
    }

    .bp-btn-text-short[b-j12hz9cr9a] {
        display: none;
    }

    /* Switch to table view on tablet and larger */
    .bp-mobile-cards[b-j12hz9cr9a] {
 display: none !important;
    }

    .bp-users-table-container[b-j12hz9cr9a] {
        display: block !important;
    }

 .bp-form-grid[b-j12hz9cr9a] {
   grid-template-columns: repeat(2, 1fr);
    }

    .bp-form-field-full[b-j12hz9cr9a] {
        grid-column: 1 / -1;
    }

    .bp-dialog-actions[b-j12hz9cr9a] {
        flex-direction: row;
    }

    .bp-dialog-btn[b-j12hz9cr9a] {
        flex: 1;
    }
}

/* =============================
   DESKTOP STYLES (1024px+)
 ============================= */

@media (min-width: 1024px) {
    .bp-page-container[b-j12hz9cr9a] {
        padding: 2rem;
      max-width: 1400px;
    }

    .bp-page-header[b-j12hz9cr9a] {
        margin-bottom: 2rem;
        padding: 2.5rem;
    }

    .bp-page-header h1[b-j12hz9cr9a] {
        font-size: 2.5rem;
    }

    .bp-action-bar[b-j12hz9cr9a] {
        flex-wrap: nowrap;
      gap: 1.5rem;
    }

.bp-user-count[b-j12hz9cr9a] {
        min-width: 180px;
 }

    .bp-empty-state[b-j12hz9cr9a] {
        min-height: 400px;
        padding: 4rem 3rem;
    }

    .bp-empty-icon[b-j12hz9cr9a] {
        font-size: 4rem;
    }

    .bp-empty-title[b-j12hz9cr9a] {
     font-size: 1.5rem;
    }

    /* Enhanced table spacing on larger screens */
    .bp-users-table[b-j12hz9cr9a]  .mud-table-cell {
  padding: 1rem 1.25rem !important;
    }

    .bp-table-user-email[b-j12hz9cr9a] {
        font-size: 1rem;
    }

    .bp-table-user-name[b-j12hz9cr9a] {
        font-size: 0.875rem;
    }

    .bp-table-text[b-j12hz9cr9a] {
        font-size: 0.9375rem;
    }

    .bp-table-action-btn[b-j12hz9cr9a] {
 width: 40px !important;
        height: 40px !important;
    }
}

/* =============================
   LARGE DESKTOP (1440px+)
   ============================= */

@media (min-width: 1440px) {
    .bp-page-container[b-j12hz9cr9a] {
        max-width: 1600px;
    }

    .bp-users-table[b-j12hz9cr9a]  .mud-table-cell {
     padding: 1.125rem 1.5rem !important;
    }
}

/* =============================
   ACCESSIBILITY & ANIMATIONS
   ============================= */

@media (prefers-reduced-motion: reduce) {
    *[b-j12hz9cr9a] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
}

/* Focus states */
.bp-user-card:focus-within[b-j12hz9cr9a] {
    outline: 2px solid var(--bp-primary);
    outline-offset: 2px;
}

/* Loading animation */
@keyframes pulse-b-j12hz9cr9a {
    0%, 100% {
        opacity: 1;
    }
    50% {
opacity: 0.5;
    }
}

.bp-loading-container[b-j12hz9cr9a] {
    animation: pulse-b-j12hz9cr9a 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Override MudBlazor primary color globally for this page */
.bp-page-container[b-j12hz9cr9a]  .mud-button-filled.mud-button-filled-primary,
.bp-page-container[b-j12hz9cr9a]  .mud-button.mud-button-filled.mud-primary {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-button-filled.mud-button-filled-primary:hover,
.bp-page-container[b-j12hz9cr9a]  .mud-button.mud-button-filled.mud-primary:hover {
    background-color: #374151 !important;
    color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-button-filled.mud-button-filled-primary .mud-button-label,
.bp-page-container[b-j12hz9cr9a]  .mud-button.mud-button-filled.mud-primary .mud-button-label,
.bp-page-container[b-j12hz9cr9a]  .mud-button-filled.mud-button-filled-primary span,
.bp-page-container[b-j12hz9cr9a]  .mud-button.mud-button-filled.mud-primary span {
    color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-button-filled.mud-button-filled-primary .mud-icon-root,
.bp-page-container[b-j12hz9cr9a]  .mud-button.mud-button-filled.mud-primary .mud-icon-root {
    color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-icon-button.mud-button-filled-primary,
.bp-page-container[b-j12hz9cr9a]  .mud-icon-button.mud-primary {
    background-color: #f3f4f6 !important;
    color: #374151 !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-icon-button.mud-button-filled-primary:hover,
.bp-page-container[b-j12hz9cr9a]  .mud-icon-button.mud-primary:hover {
 background-color: #1f2937 !important;
  color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-icon-button.mud-primary .mud-icon-root {
    color: #374151 !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-icon-button.mud-primary:hover .mud-icon-root {
    color: white !important;
}

/* Pagination buttons */
.bp-page-container[b-j12hz9cr9a]  .mud-pagination .mud-pagination-item-selected {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-pagination .mud-pagination-item-selected .mud-button-label {
    color: white !important;
}

.bp-page-container[b-j12hz9cr9a]  .mud-pagination .mud-button:hover {
    background-color: #f3f4f6 !important;
}

/* Progress circular primary color */
.bp-page-container[b-j12hz9cr9a]  .mud-progress-circular.mud-primary svg circle {
    stroke: #374151 !important;
}

/* Additional button text color overrides - more specific */
.bp-create-button[b-j12hz9cr9a],
.bp-create-button.mud-button-filled.mud-primary[b-j12hz9cr9a] {
    background-color: #1f2937 !important;
    color: white !important;
}

.bp-create-button[b-j12hz9cr9a]  .mud-button-label,
.bp-create-button[b-j12hz9cr9a]  span,
.bp-create-button[b-j12hz9cr9a]  .mud-icon-root {
    color: white !important;
}

.bp-create-button:hover[b-j12hz9cr9a] {
background-color: #374151 !important;
}

.bp-dialog-btn.mud-button-filled[b-j12hz9cr9a]  .mud-button-label,
.bp-dialog-btn.mud-button-filled[b-j12hz9cr9a]  span {
    color: white !important;
}

.bp-action-btn.mud-button-filled[b-j12hz9cr9a]  .mud-button-label,
.bp-action-btn.mud-button-filled[b-j12hz9cr9a]  span {
    color: white !important;
}

/* Force white text on all primary filled buttons within the container */
.bp-page-container .mud-button.mud-button-filled.mud-primary *[b-j12hz9cr9a] {
    color: white !important;
}

/* fix alignment of agent descriptions on linking UI */
.bp-agent-desc[b-j12hz9cr9a] {
    padding-left: 48px;
    line-height: 0;
    padding-bottom: 12px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-vo7jkcm4uo] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-vo7jkcm4uo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Chat.razor.rz.scp.css */
/* Layout */
.chat-container[b-z94lbzi3gf] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.chat-main[b-z94lbzi3gf] {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.chat-content[b-z94lbzi3gf] {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
/* Increased bottom padding so final message lines are not obscured by fixed input bar */
.chat-messages[b-z94lbzi3gf] {
    flex: 1;
    overflow-y: auto;
    padding-bottom: var(--chat-input-offset, 260px);
    position: relative;
}

.chat-empty-state[b-z94lbzi3gf] {
    flex: 1;
    overflow-y: auto;
}

.chat-inner[b-z94lbzi3gf] {
    max-width: 850px;
    margin: 0 auto;
    padding: 32px 30px;
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Allow optional safe area inset on mobile */
@supports(padding: max(0px)) {
    .chat-messages[b-z94lbzi3gf] {
        padding-bottom: max(var(--chat-input-offset, 260px), calc(180px + env(safe-area-inset-bottom)));
    }
}

/* Ensure messages container doesn't overflow */
.chat-messages .chat-inner[b-z94lbzi3gf] {
    min-height: auto;
}

.chat-empty-state .chat-inner[b-z94lbzi3gf] {
    min-height: 100%;
}

/* Message rows */
.chat-message-row[b-z94lbzi3gf] {
    display: flex;
    width: 100%;
    margin-bottom: 22px;
}

.chat-row-user[b-z94lbzi3gf] {
    justify-content: flex-end;
}

.chat-row-ai[b-z94lbzi3gf] {
    justify-content: flex-start;
}

.chat-message[b-z94lbzi3gf] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 850px;
}

    .chat-message.user-message[b-z94lbzi3gf] {
        flex-direction: row-reverse;
    }

/* Avatar */
.message-avatar .ai-avatar[b-z94lbzi3gf] {
    background: #0b3d91;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

/* Bubbles */
.message-content[b-z94lbzi3gf] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.user-message .message-content[b-z94lbzi3gf] {
    background: #1d4ed8;
    color: #fff;
    border: 1px solid #1d4ed8;
}

    .user-message .message-content *[b-z94lbzi3gf] {
        color: #fff;
    }
    /* Ensure all nested elements are white */
    .user-message .message-content a[b-z94lbzi3gf] {
        color: #fff;
        text-decoration: underline;
    }

    .user-message .message-content .message-text[b-z94lbzi3gf] {
        color: #fff;
    }
/* Explicit white text for message content */
.ai-message .message-content[b-z94lbzi3gf] {
    background: #ffffff;
    border: none;
    padding: 8px 12px;
    box-shadow: none;
}
/* Attachments */
.message-attachments[b-z94lbzi3gf] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.attachment-pill[b-z94lbzi3gf] {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 4px 8px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.attachment-icon[b-z94lbzi3gf] {
    color: #374151;
}

.attachment-name[b-z94lbzi3gf] {
    font-weight: 500;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* User message attachment styling for better contrast on blue background */
.user-message .attachment-pill[b-z94lbzi3gf] {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.user-message .attachment-icon[b-z94lbzi3gf] {
    color: #fff;
}

.user-message .attachment-name[b-z94lbzi3gf] {
    color: #fff;
}

.user-message .attachment-meta[b-z94lbzi3gf] {
    color: rgba(255,255,255,0.8);
}

/* Empty state */
.chat-empty-state[b-z94lbzi3gf] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

    .chat-empty-state .empty-content[b-z94lbzi3gf] {
        text-align: center;
    }

.empty-title[b-z94lbzi3gf] {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.empty-subtitle[b-z94lbzi3gf] {
    font-size: .95rem;
    color: #6b7280;
}

/* Chat input shell for fixed positioning - consistent 850px width */
.chat-input-shell[b-z94lbzi3gf] {
    position: fixed;
    left: 220px;
    right: 0;
    bottom: 0;
    padding: 24px 16px 32px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    z-index: 10;
}

@media (max-width: 900px) {
    .chat-input-shell[b-z94lbzi3gf] {
        left: 0;
        padding: 20px 12px 24px;
    }
}
/* Consistent width with chat messages */
.chat-input-shell .chat-input-content[b-z94lbzi3gf] {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.chat-input-shell .chat-input-wrapper[b-z94lbzi3gf] {
    width: 100% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06) !important;
    min-height: 56px !important;
}

.chat-input-wrapper[b-z94lbzi3gf] {
    border-radius: 28px !important;
}

.chat-input-field[b-z94lbzi3gf] {
    font-size: 16px !important;
    padding: 16px 20px !important;
    line-height: 1.5 !important;
}

/* Larger icons and buttons to match ChatGPT proportions */
.chat-input-shell .chat-action-icon[b-z94lbzi3gf], .chat-input-shell .send-button[b-z94lbzi3gf] {
    width: 48px !important;
    height: 48px !important;
}

.chat-input-shell .mud-icon-button[b-z94lbzi3gf] {
    width: 48px !important;
    height: 48px !important;
}

/* Disclaimer */
.chat-disclaimer[b-z94lbzi3gf] {
    text-align: center;
    font-size: 12px;
    opacity: .65;
    margin-top: 8px;
}

/* Scrollbar subtle */
.chat-messages[b-z94lbzi3gf]::-webkit-scrollbar {
    width: 10px;
}

.chat-messages[b-z94lbzi3gf]::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages[b-z94lbzi3gf]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

.chat-messages[b-z94lbzi3gf] {
    scrollbar-width: thin;
}

/* Markdown spacing */
.message-text h1[b-z94lbzi3gf], h2[b-z94lbzi3gf], h3[b-z94lbzi3gf], h4[b-z94lbzi3gf] {
    margin: 0.9rem 0 .55rem;
    font-weight: 600;
}

.message-text p[b-z94lbzi3gf] {
    margin: .55rem 0;
}

.message-text ul[b-z94lbzi3gf] {
    margin: .5rem 0 .5rem 1.25rem;
    padding: 0;
}

.message-text li[b-z94lbzi3gf] {
    margin: .3rem 0;
}

/* Wrap long lines */
.message-text[b-z94lbzi3gf] {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Typing indicator */
.typing-indicator[b-z94lbzi3gf] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
}

.dot-typing[b-z94lbzi3gf] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot-typing__dot[b-z94lbzi3gf] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: black;
    animation: dot-jump-b-z94lbzi3gf 1.4s infinite;
}

    .dot-typing__dot:nth-child(1)[b-z94lbzi3gf] {
        animation-delay: 0s;
    }

    .dot-typing__dot:nth-child(2)[b-z94lbzi3gf] {
        animation-delay: 0.2s;
    }

    .dot-typing__dot:nth-child(3)[b-z94lbzi3gf] {
        animation-delay: 0.4s;
    }

    .dot-typing__dot:nth-child(4)[b-z94lbzi3gf] {
        animation-delay: 0.6s;
    }

@keyframes dot-jump-b-z94lbzi3gf {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.typing-text[b-z94lbzi3gf] {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Streaming message indicator */
.streaming-message[b-z94lbzi3gf] {
    position: relative;
}

.message-actions[b-z94lbzi3gf] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    opacity: 1;
    transition: opacity .2s ease;
}

.chat-message:hover .message-actions[b-z94lbzi3gf] {
    opacity: 1;
}

.message-action-btn[b-z94lbzi3gf] {
    color: var(--mud-palette-text-secondary) !important;
    background: transparent !important;
    border-radius: 4px !important;
    padding: 4px !important;
    min-height: unset !important;
    height: 24px !important;
    width: 24px !important;
}

    .message-action-btn:hover[b-z94lbzi3gf] {
        background-color: var(--mud-palette-action-hover) !important;
        color: var(--mud-palette-text-primary) !important;
    }

    .message-action-btn .mud-icon-root[b-z94lbzi3gf] {
        font-size: 16px !important;
    }

.message-text p[b-z94lbzi3gf] {
    margin: 00 .75rem0;
}

.message-text pre[b-z94lbzi3gf] {
    background: #1e1e1e;
    color: #fff;
    padding: .75rem;
    border-radius: 4px;
    overflow-x: auto;
}

.message-text code[b-z94lbzi3gf] {
    background: #f5f5f5;
    padding: 2px4px;
    border-radius: 4px;
    font-size: 95%;
}
/* /Components/Shared/ConfirmationDialog.razor.rz.scp.css */
/* Force white text on the confirm button when requested */
.white-text[b-dzgpe6akgo],
.white-text .mud-button-label[b-dzgpe6akgo],
.white-text .mud-icon-root[b-dzgpe6akgo],
.white-text .mud-icon-button-label[b-dzgpe6akgo] {
 color: #fff !important;
}
/* /Components/Shared/UserProfileModal.razor.rz.scp.css */
/* UserProfileModal Component Styles */

/* Dialog Container */
.profile-modal-container[b-v6c7c3w0oj] {
    display: flex;
    min-height: 500px;
    max-height: 80vh;
    flex-direction: row; /* Default to horizontal layout for desktop */
 width: 100%;
}

/* Desktop Layout Optimization */
@media (min-width: 769px) {
    .profile-modal-container[b-v6c7c3w0oj] {
  min-height: 600px;
        max-height: 75vh;
        width: 900px; /* Fixed width for better desktop appearance */
        max-width: 90vw;
    }
}

/* Large Desktop Optimization */
@media (min-width: 1200px) {
    .profile-modal-container[b-v6c7c3w0oj] {
        width: 1000px;
        max-height: 70vh;
    }
}

/* Mobile-first approach - Stack vertically on mobile */
@media (max-width: 768px) {
    .profile-modal-container[b-v6c7c3w0oj] {
        flex-direction: column;
        min-height: 70vh;
        max-height: 90vh;
  }
}

/* Sidebar Navigation */
.profile-sidebar[b-v6c7c3w0oj] {
    width: 220px; /* Increased width for better desktop appearance */
    background-color: var(--mud-palette-surface);
  border-right: 1px solid var(--mud-palette-divider);
    flex-shrink: 0;
    padding: 1rem 0; /* Added vertical padding */
}

/* Desktop Sidebar Enhancements */
@media (min-width: 769px) {
    .profile-sidebar[b-v6c7c3w0oj] {
        width: 240px;
        padding: 1.5rem 0;
    }
    
    .profile-sidebar .mud-nav-menu[b-v6c7c3w0oj] {
   padding: 0 1rem;
    }
  
    .profile-sidebar .mud-nav-link[b-v6c7c3w0oj] {
        margin-bottom: 0.25rem;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        transition: all 0.2s ease;
    }
    
    .profile-sidebar .mud-nav-link:hover[b-v6c7c3w0oj] {
        background-color: var(--mud-palette-action-hover);
    }
}

@media (max-width: 768px) {
    .profile-sidebar[b-v6c7c3w0oj] {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--mud-palette-divider);
        max-height: 120px;
      overflow-x: auto;
   padding: 0;
    }
    
    /* Horizontal scrolling navigation on mobile */
    .profile-sidebar .mud-nav-menu[b-v6c7c3w0oj] {
        display: flex;
 flex-direction: row;
        white-space: nowrap;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .profile-sidebar .mud-nav-link[b-v6c7c3w0oj] {
        flex-shrink: 0;
        min-width: fit-content;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        text-align: center;
    }
}

/* Main Content Area */
.profile-content[b-v6c7c3w0oj] {
    flex: 1;
    padding: 2rem; /* Increased padding for desktop */
    overflow-y: auto;
    min-width: 0; /* Prevent content overflow */
}

/* Desktop Content Optimization */
@media (min-width: 769px) {
 .profile-content[b-v6c7c3w0oj] {
        padding: 2.5rem;
    max-height: none; /* Remove height restrictions on desktop */
    }
}

@media (max-width: 768px) {
    .profile-content[b-v6c7c3w0oj] {
   padding: 1rem;
  max-height: calc(70vh - 120px);
    }
}

@media (max-width: 480px) {
    .profile-content[b-v6c7c3w0oj] {
        padding: 0.75rem;
    }
}

/* Profile Image Section */
.profile-image-section[b-v6c7c3w0oj] {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Increased gap for desktop */
    margin-bottom: 2rem; /* Increased margin for desktop */
}

@media (min-width: 769px) {
    .profile-image-section[b-v6c7c3w0oj] {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .profile-image-section[b-v6c7c3w0oj] {
    flex-direction: column;
        align-items: center;
     text-align: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

.profile-avatar[b-v6c7c3w0oj] {
    width: 100px; /* Increased size for desktop */
    height: 100px;
}

@media (min-width: 769px) {
    .profile-avatar[b-v6c7c3w0oj] {
        width: 120px;
      height: 120px;
    }
}

@media (max-width: 480px) {
    .profile-avatar[b-v6c7c3w0oj] {
        width: 60px;
 height: 60px;
    }
}

.profile-avatar-image[b-v6c7c3w0oj] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Form Styling */
.profile-form-grid[b-v6c7c3w0oj] {
    margin-bottom: 2rem; /* Increased margin for desktop */
}

@media (min-width: 769px) {
    .profile-form-grid[b-v6c7c3w0oj] {
        margin-bottom: 2.5rem;
    }
    
    /* Better spacing between form fields on desktop */
    .profile-form-grid .mud-grid-item[b-v6c7c3w0oj] {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    /* Force single column layout on mobile */
    .profile-form-grid .mud-grid-item.mud-grid-xs-12.mud-grid-sm-6[b-v6c7c3w0oj] {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
}

/* Save Button */
.save-button[b-v6c7c3w0oj] {
    background-color: var(--mud-palette-background-grey);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-divider);
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 0.75rem 2rem; /* Better padding for desktop */
    transition: all 0.2s ease;
}

.save-button:hover[b-v6c7c3w0oj] {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

@media (min-width: 769px) {
    .save-button[b-v6c7c3w0oj] {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .save-button[b-v6c7c3w0oj] {
        width: 100%;
    margin-top: 1rem;
  padding: 0.75rem 1rem;
    }
}

/* Privacy Section */
.privacy-content[b-v6c7c3w0oj] {
    max-height: 450px; /* Increased height for desktop */
    overflow-y: auto;
    padding-right: 12px; /* Increased padding for desktop */
}

@media (min-width: 769px) {
    .privacy-content[b-v6c7c3w0oj] {
        max-height: 500px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .privacy-content[b-v6c7c3w0oj] {
        max-height: 50vh;
        padding-right: 4px;
    }
}

@media (max-width: 480px) {
.privacy-content[b-v6c7c3w0oj] {
        max-height: 45vh;
        padding-right: 0;
    }
}

/* Privacy Cards */
.privacy-card[b-v6c7c3w0oj] {
    margin-bottom: 1.5rem; /* Increased margin for desktop */
}

@media (min-width: 769px) {
    .privacy-card[b-v6c7c3w0oj] {
        margin-bottom: 2rem;
    }
    
    .privacy-card .mud-card-content[b-v6c7c3w0oj] {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .privacy-card[b-v6c7c3w0oj] {
        margin-bottom: 0.75rem;
    }

    .privacy-card .mud-card-content[b-v6c7c3w0oj] {
        padding: 1rem !important;
    }
}

/* Contact Card Gradient */
.contact-card[b-v6c7c3w0oj] {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
    .contact-card[b-v6c7c3w0oj] {
        margin-bottom: 2rem;
    }
}

/* Account Actions */
.account-actions-card[b-v6c7c3w0oj] {
    margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
    .account-actions-card[b-v6c7c3w0oj] {
        margin-bottom: 2rem;
    }
    
    .account-actions-card .mud-card-content[b-v6c7c3w0oj] {
padding: 1.5rem !important;
    }
}

.logout-form[b-v6c7c3w0oj] {
    margin: 0;
}

.logout-button[b-v6c7c3w0oj] {
 margin-bottom: 1rem;
    padding: 0.75rem 2rem;
    transition: all 0.2s ease;
}

.logout-button:hover[b-v6c7c3w0oj] {
    transform: translateY(-1px);
}

@media (min-width: 769px) {
    .logout-button[b-v6c7c3w0oj] {
        padding: 0.875rem 2.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logout-button[b-v6c7c3w0oj] {
    width: 100%;
        padding: 0.75rem 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Coming Soon Section */
.coming-soon-section[b-v6c7c3w0oj] {
    text-align: center;
    padding: 3rem; /* Increased padding for desktop */
}

@media (min-width: 769px) {
    .coming-soon-section[b-v6c7c3w0oj] {
        padding: 4rem;
    }
}

@media (max-width: 480px) {
    .coming-soon-section[b-v6c7c3w0oj] {
        padding: 1.5rem 1rem;
    }
}

/* Dialog Actions */
@media (max-width: 480px) {
    [b-v6c7c3w0oj] .mud-dialog-actions {
        padding: 1rem;
        justify-content: center;
}
    
    [b-v6c7c3w0oj] .mud-dialog-actions .mud-button {
        min-width: 120px;
    }
}

/* Navigation Link Selected State */
.nav-link-selected[b-v6c7c3w0oj] {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
}

@media (min-width: 769px) {
    .nav-link-selected[b-v6c7c3w0oj] {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .nav-link-selected[b-v6c7c3w0oj] {
        background-color: var(--mud-palette-primary) !important;
        color: white !important;
 }
}

/* Custom Scrollbar for Privacy Content */
.privacy-content[b-v6c7c3w0oj]::-webkit-scrollbar {
    width: 8px; /* Increased width for desktop */
}

.privacy-content[b-v6c7c3w0oj]::-webkit-scrollbar-track {
    background: var(--mud-palette-background-grey);
    border-radius: 4px;
}

.privacy-content[b-v6c7c3w0oj]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-divider);
    border-radius: 4px;
    border: 1px solid var(--mud-palette-background);
}

.privacy-content[b-v6c7c3w0oj]::-webkit-scrollbar-thumb:hover {
    background: var(--mud-palette-text-secondary);
}

/* Alert Responsive Adjustments */
@media (max-width: 480px) {
[b-v6c7c3w0oj] .mud-alert {
        font-size: 0.875rem;
        padding: 0.75rem;
  }
    
    [b-v6c7c3w0oj] .mud-alert .mud-alert-message {
        line-height: 1.4;
    }
}

/* List Items Responsive */
@media (max-width: 480px) {
    [b-v6c7c3w0oj] .mud-list-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    [b-v6c7c3w0oj] .mud-list-item-text {
        font-size: 0.875rem;
    }
}

/* Text Responsive Sizing */
@media (max-width: 480px) {
    [b-v6c7c3w0oj] .mud-typography-h5 {
        font-size: 1.25rem;
    }
    
    [b-v6c7c3w0oj] .mud-typography-h6 {
        font-size: 1.125rem;
    }
    
    [b-v6c7c3w0oj] .mud-typography-subtitle1 {
        font-size: 1rem;
    }
}

/* Desktop Dialog Styling */
@media (min-width: 769px) {
    [b-v6c7c3w0oj] .mud-dialog {
border-radius: 12px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }
    
    [b-v6c7c3w0oj] .mud-dialog-content {
        padding: 0;
    }
    
    [b-v6c7c3w0oj] .mud-dialog-actions {
        padding: 1.5rem 2rem;
        border-top: 1px solid var(--mud-palette-divider);
    }
}

/* Mobile Dialog Overrides */
@media (max-width: 768px) {
    [b-v6c7c3w0oj] .mud-dialog {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
   width: calc(100vw - 1rem);
        max-width: none;
        border-radius: 8px;
    }
    
 [b-v6c7c3w0oj] .mud-dialog-content {
        padding: 0;
    }
}

@media (max-width: 480px) {
  [b-v6c7c3w0oj] .mud-dialog {
        margin: 0.25rem;
        max-height: calc(100vh - 0.5rem);
        width: calc(100vw - 0.5rem);
border-radius: 6px;
    }
}

/* Loading Text */
.loading-text[b-v6c7c3w0oj] {
    margin-left: 0.5rem;
}

/* Typography Styles */
.privacy-header[b-v6c7c3w0oj] {
    font-weight: 600;
}

.privacy-subtitle[b-v6c7c3w0oj] {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.privacy-list-title[b-v6c7c3w0oj] {
    font-weight: 500;
}

.contact-header[b-v6c7c3w0oj] {
    font-weight: 600;
}

.contact-divider[b-v6c7c3w0oj] {
background-color: rgba(255,255,255,0.3);
}

.contact-footer-text[b-v6c7c3w0oj] {
    font-style: italic;
}

.logout-description[b-v6c7c3w0oj] {
    color: var(--mud-palette-text-secondary);
}
