    /* Custom dark theme styles */
    .dark-input {
        background-color: #1f2937;
        border: 1px solid #374151;
        color: #f9fafb;
    }
    
    .dark-input:focus {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    }
    
    .dark-input::placeholder {
        color: #9ca3af;
    }
    
    .dark-select {
        background-color: #1f2937;
        border: 1px solid #374151;
        color: #f9fafb;
    }
    
    .dark-select:focus {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    }
    
    .dark-card {
        background-color: #111827;
        border: 1px solid #374151;
    }
    
    .gradient-bg {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .hand-drawn-border {
        border: 2px solid #374151;
        border-radius: 8px;
        position: relative;
    }
    
    .hand-drawn-border::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #8b5cf6, #a855f7, #c084fc);
        border-radius: 10px;
        z-index: -1;
        opacity: 0.3;
    }
    
    .task-item {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        border: 1px solid #374151;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .task-item:hover {
        border-color: #8b5cf6;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    }

    /* Prompt preview styles */
    .prompt-preview-section {
        transition: all 0.3s ease;
    }
    
    .prompt-textarea {
        background: #1f2937;
        border: 1px solid #374151;
        color: #f9fafb;
    }
    
    .prompt-textarea:focus {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    }
    
    .enhanced-prompt-border {
        border-color: #10b981 !important;
    }
    
    .copy-button {
        transition: all 0.2s ease;
    }
    
    .copy-button:hover {
        transform: scale(1.05);
    }
    
    .queue-item {
        transition: all 0.3s ease;
    }
    
    .queue-item a {
        display: inline-block;
        text-decoration: none;
    }
    
    .queue-item a:hover {
        transform: translateY(-1px);
    }
    
    .generate-btn {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        transition: all 0.3s ease;
    }
    
    .generate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    }
    
    /* Clerk component styling to match FanPro AI-Forge exactly */
    #clerkSignInComponent {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 400px;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    #clerkSignInComponent:not(.hidden) {
        animation: fadeIn 0.3s ease-in-out;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Ensure Clerk components inherit our dark theme */
    #clerkSignInComponent :deep(.cl-internal-b3fm6y) {
        background-color: #1f2937 !important;
        border: 1px solid #374151 !important;
        border-radius: 0.5rem !important;
    }
    
    /* Additional Clerk styling to match FanPro AI-Forge exactly */
    #clerkSignInComponent .cl-rootBox {
        width: 100%;
        max-width: 400px;
    }
    
    #clerkSignInComponent .cl-card {
        background-color: #1f2937 !important;
        border: 1px solid #374151 !important;
        border-radius: 8px !important;
    }
    
    #clerkSignInComponent .cl-headerTitle {
        color: #f9fafb !important;
    }
    
    #clerkSignInComponent .cl-headerSubtitle {
        color: #9ca3af !important;
    }
    
    #clerkSignInComponent .cl-socialButtonsBlockButton {
        background-color: #374151 !important;
        border: 1px solid #4b5563 !important;
        color: #f9fafb !important;
    }
    
    #clerkSignInComponent .cl-socialButtonsBlockButton:hover {
        background-color: #4b5563 !important;
        border-color: #6b7280 !important;
    }
    
    #clerkSignInComponent .cl-formFieldInput {
        background-color: #1f2937 !important;
        border: 1px solid #374151 !important;
        color: #f9fafb !important;
    }
    
    #clerkSignInComponent .cl-formFieldInput:focus {
        border-color: #8b5cf6 !important;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
    }
    
    #clerkSignInComponent .cl-formButtonPrimary {
        background-color: #8b5cf6 !important;
        color: #f9fafb !important;
    }
    
    #clerkSignInComponent .cl-formButtonPrimary:hover {
        background-color: #7c3aed !important;
    }
    
    #clerkSignInComponent .cl-dividerText {
        color: #9ca3af !important;
    }
    
    #clerkSignInComponent .cl-dividerLine {
        background-color: #4b5563 !important;
    }
    
    #clerkSignInComponent .cl-formFieldLabel {
        color: #f9fafb !important;
    }
    
    #clerkSignInComponent .cl-footer {
        color: #9ca3af !important;
    }
    
    #clerkSignInComponent .cl-footer a {
        color: #8b5cf6 !important;
    }
    
    /* Clerk button states */
    #clerkInitBtn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    #clerkInitBtn.opacity-50 {
        opacity: 0.5;
    }
    
    #clerkInitBtn.cursor-not-allowed {
        cursor: not-allowed;
    }
    
    .add-btn {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        transition: all 0.3s ease;
    }
    
    .add-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    }
    
    .remove-btn {
        color: #ef4444;
        transition: all 0.3s ease;
    }
    
    .remove-btn:hover {
        color: #dc2626;
        transform: scale(1.1);
    }
    
    /* Animated loading */
    @keyframes pulse-glow {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.7; }
    }
    
    .pulse-glow {
        animation: pulse-glow 2s ease-in-out infinite;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #1f2937;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #4b5563;
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #6b7280;
    }
    
    /* Creator Gallery Styles */
    .creator-card {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        border: 2px solid #374151;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .creator-card:hover {
        border-color: #8b5cf6;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    }
    
    .creator-card.selected {
        border-color: #10b981;
        background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    }
    
    .creator-card.selected::before {
        content: '✓';
        position: absolute;
        top: 8px;
        right: 8px;
        background: #10b981;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 14px;
    }
    
    .creator-image {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
        border: 1px solid #374151;
    }
    
    .creator-image.placeholder {
        background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9ca3af;
        font-size: 24px;
    }
    
    .creator-name {
        font-weight: 600;
        color: #f9fafb;
        margin-bottom: 4px;
        font-size: 14px;
    }
    
    .creator-trigger {
        font-size: 12px;
        color: #9ca3af;
        font-style: italic;
    }
    
    .creator-card.selected .creator-name {
        color: #10b981;
    }
    
    .creator-card.selected .creator-trigger {
        color: #34d399;
    }
    
    /* New Clerk Authentication Styles */
    .auth-status {
        text-align: center;
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 8px;
        background: #2a2a2a;
        border: 1px solid #444;
        font-size: 0.9rem;
    }
    
    .auth-status.initializing {
        background: #2a2a2a;
        border-color: #666;
        color: #cccccc;
    }
    
    .auth-status.error {
        background: #3a1a1a;
        border-color: #cc4444;
        color: #ffaaaa;
    }
    
    .auth-status.success {
        background: #1a3a1a;
        border-color: #44cc44;
        color: #aaffaa;
    }
    
    .clerk-container {
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Center Clerk components and all their children */
    .clerk-container > div,
    .clerk-container div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* Ensure all Clerk elements are centered */
    .clerk-container * {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Force Clerk components to center */
    .clerk-container [data-clerk-appearance],
    .clerk-container [class*="cl-"],
    .clerk-container form,
    .clerk-container .cl-signIn-start,
    .clerk-container .cl-card {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .clerk-container.loading {
        background: #2a2a2a;
        border-radius: 8px;
        border: 1px solid #444;
    }
    
    .clerk-container.loading::after {
        content: "Loading Clerk...";
        color: #cccccc;
        font-size: 1.1rem;
    }
    
    .user-info {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 20px;
        border: 1px solid #333;
        text-align: center;
    }
    
    .debug-info {
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 8px;
        padding: 15px;
        margin-top: 15px;
        font-family: monospace;
        font-size: 0.8rem;
        color: #cccccc;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .debug-info h5 {
        color: #8b5cf6;
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    .debug-info pre {
        margin: 10px 0;
        padding: 10px;
        background: #2a2a2a;
        border-radius: 4px;
        overflow-x: auto;
    }

    /* CFG Scale Slider Styles */
    .slider::-webkit-slider-thumb {
        appearance: none;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: #3b82f6;
        cursor: pointer;
        border: 2px solid #1e293b;
    }
    
    .slider::-moz-range-thumb {
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: #3b82f6;
        cursor: pointer;
        border: 2px solid #1e293b;
    }
    
    .slider::-webkit-slider-track {
        background: #374151;
        border-radius: 5px;
    }
    
    .slider::-moz-range-track {
        background: #374151;
        border-radius: 5px;
    }