body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
      min-height: 100vh;
      background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
      color: white;
      box-sizing: border-box;
    }
    .auth-container {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      padding: 0;
    }
    .auth-header {
      background: rgba(31, 41, 55, 0.9);
      border-bottom: 1px solid #374151;
      padding: 1rem 0;
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .auth-header-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .auth-logo {
      font-size: 1.5rem;
      font-weight: bold;
      color: #60a5fa;
      text-decoration: none;
    }
    .auth-user-info {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-size: 0.9rem;
      color: #d1d5db;
    }
    .auth-logout {
      color: #ef4444;
      text-decoration: none;
      padding: 0.5rem 1rem;
      border: 1px solid #ef4444;
      border-radius: 6px;
      transition: all 0.3s ease;
    }
    .auth-logout:hover {
      background: rgba(239, 68, 68, 0.1);
    }
    .auth-main {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .session-warning {
      background: rgba(234, 179, 8, 0.1);
      border: 1px solid rgba(234, 179, 8, 0.3);
      color: #fbbf24;
      padding: 0.75rem 1rem;
      margin: 1rem;
      border-radius: 8px;
      text-align: center;
      display: none;
    }
    /* Mobile responsive design */
    @media (max-width: 768px) {
      .auth-header-content {
        flex-direction: column;
        gap: 1rem;
      }
      .auth-user-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
      }
    }
    
    /* Global Notification Modal Styles */
    #notification-modal {
      position: fixed;
      border-radius: 8px;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      height: 8%;
      margin: 5px 0;
      background-color: #add8e6f0;
      border: 2px solid #6e8ec1;
      color: #2661c1;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-size: 1.25rem;
      z-index: 1000;
      transition: top 0.5s;
    }
    
    /* Global Confirmation Modal Styles */
    #confirm-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3300;
      transition: opacity 0.3s ease;
    }
    
    .confirm-dialog {
      background: #1f2937;
      border: 1px solid #374151;
      border-radius: 12px;
      padding: 2rem;
      max-width: 400px;
      width: 90%;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      transform: scale(0.95);
      transition: transform 0.3s ease;
    }
    
    #confirm-modal[style*="opacity: 1"] .confirm-dialog {
      transform: scale(1);
    }
    
    .confirm-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: #f9fafb;
      margin-bottom: 1rem;
      text-align: center;
    }
    
    .confirm-message {
      color: #d1d5db;
      margin-bottom: 2rem;
      line-height: 1.5;
      text-align: center;
    }
    
    .confirm-buttons {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
    }
    
    .confirm-btn {
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 6px;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
      min-width: 80px;
    }
    
    .confirm-btn-no {
      background: #374151;
      color: #d1d5db;
      border: 1px solid #4b5563;
    }
    
    .confirm-btn-no:hover {
      background: #4b5563;
      color: #f9fafb;
    }
    
    .confirm-btn-no:focus {
      outline: 2px solid #6b7280;
      outline-offset: 2px;
    }
    
    .confirm-btn-yes {
      background: #14b8a6;
      color: white;
      border: 1px solid #0d9488;
    }
    
    .confirm-btn-yes:hover {
      background: #0d9488;
    }
    
    .confirm-btn-yes:focus {
      outline: 2px solid #5eead4;
      outline-offset: 2px;
    }
    
    /* Destructive variant for delete/remove actions */
    .confirm-btn-yes.destructive {
      background: #ef4444;
      border: 1px solid #dc2626;
    }
    
    .confirm-btn-yes.destructive:hover {
      background: #dc2626;
    }
    
    .confirm-btn-yes.destructive:focus {
      outline: 2px solid #f87171;
    }

    /* Badge Component System - DaisyUI Compatible */
    
    /* Base Badge Component */
    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 0.75rem;
      line-height: 1;
      border-radius: 9999px;
      padding: 0.5rem 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.025em;
      white-space: nowrap;
      transition: all 0.2s ease;
      border: 1px solid transparent;
      box-sizing: border-box;
    }
    
    /* Badge Sizes */
    .badge-xs {
      padding: 0.25rem 0.5rem;
      font-size: 0.625rem;
    }
    
    .badge-sm {
      padding: 0.375rem 0.625rem;
      font-size: 0.6875rem;
    }
    
    .badge-md {
      padding: 0.5rem 0.75rem;
      font-size: 0.75rem;
    }
    
    .badge-lg {
      padding: 0.625rem 1rem;
      font-size: 0.875rem;
    }
    
    .badge-xl {
      padding: 0.75rem 1.25rem;
      font-size: 1rem;
    }
    
    /* Badge Colors - Solid Style (Default) */
    .badge-neutral {
      background: #374151;
      color: #f9fafb;
      border-color: #4b5563;
    }
    
    .badge-primary {
      background: #3b82f6;
      color: #ffffff;
      border-color: #2563eb;
    }
    
    .badge-secondary {
      background: #6b7280;
      color: #ffffff;
      border-color: #4b5563;
    }
    
    .badge-accent {
      background: #8b5cf6;
      color: #ffffff;
      border-color: #7c3aed;
    }
    
    .badge-info {
      background: #0ea5e9;
      color: #ffffff;
      border-color: #0284c7;
    }
    
    .badge-success {
      background: #10b981;
      color: #ffffff;
      border-color: #059669;
    }
    
    .badge-warning {
      background: #f59e0b;
      color: #ffffff;
      border-color: #d97706;
    }
    
    .badge-error {
      background: #ef4444;
      color: #ffffff;
      border-color: #dc2626;
    }
    
    /* Badge Outline Style */
    .badge-outline {
      background: transparent;
      border-width: 1px;
      border-style: solid;
    }
    
    .badge-outline.badge-neutral {
      color: #d1d5db;
      border-color: #4b5563;
    }
    
    .badge-outline.badge-primary {
      color: #60a5fa;
      border-color: #3b82f6;
    }
    
    .badge-outline.badge-secondary {
      color: #9ca3af;
      border-color: #6b7280;
    }
    
    .badge-outline.badge-accent {
      color: #a78bfa;
      border-color: #8b5cf6;
    }
    
    .badge-outline.badge-info {
      color: #38bdf8;
      border-color: #0ea5e9;
    }
    
    .badge-outline.badge-success {
      color: #34d399;
      border-color: #10b981;
    }
    
    .badge-outline.badge-warning {
      color: #fbbf24;
      border-color: #f59e0b;
    }
    
    .badge-outline.badge-error {
      color: #f87171;
      border-color: #ef4444;
    }
    
    /* Badge Dash Style */
    .badge-dash {
      background: transparent;
      border-width: 1px;
      border-style: dashed;
    }
    
    .badge-dash.badge-neutral {
      color: #d1d5db;
      border-color: #4b5563;
    }
    
    .badge-dash.badge-primary {
      color: #60a5fa;
      border-color: #3b82f6;
    }
    
    .badge-dash.badge-secondary {
      color: #9ca3af;
      border-color: #6b7280;
    }
    
    .badge-dash.badge-accent {
      color: #a78bfa;
      border-color: #8b5cf6;
    }
    
    .badge-dash.badge-info {
      color: #38bdf8;
      border-color: #0ea5e9;
    }
    
    .badge-dash.badge-success {
      color: #34d399;
      border-color: #10b981;
    }
    
    .badge-dash.badge-warning {
      color: #fbbf24;
      border-color: #f59e0b;
    }
    
    .badge-dash.badge-error {
      color: #f87171;
      border-color: #ef4444;
    }
    
    /* Badge Soft Style */
    .badge-soft {
      border: none;
    }
    
    .badge-soft.badge-neutral {
      background: rgba(55, 65, 81, 0.2);
      color: #d1d5db;
    }
    
    .badge-soft.badge-primary {
      background: rgba(59, 130, 246, 0.2);
      color: #93c5fd;
    }
    
    .badge-soft.badge-secondary {
      background: rgba(107, 114, 128, 0.2);
      color: #d1d5db;
    }
    
    .badge-soft.badge-accent {
      background: rgba(139, 92, 246, 0.2);
      color: #c4b5fd;
    }
    
    .badge-soft.badge-info {
      background: rgba(14, 165, 233, 0.2);
      color: #7dd3fc;
    }
    
    .badge-soft.badge-success {
      background: rgba(16, 185, 129, 0.2);
      color: #6ee7b7;
    }
    
    .badge-soft.badge-warning {
      background: rgba(245, 158, 11, 0.2);
      color: #fcd34d;
    }
    
    .badge-soft.badge-error {
      background: rgba(239, 68, 68, 0.2);
      color: #fca5a5;
    }
    
    /* Badge Ghost Style */
    .badge-ghost {
      background: transparent;
      border: none;
    }
    
    .badge-ghost.badge-neutral {
      color: #9ca3af;
    }
    
    .badge-ghost.badge-primary {
      color: #60a5fa;
    }
    
    .badge-ghost.badge-secondary {
      color: #9ca3af;
    }
    
    .badge-ghost.badge-accent {
      color: #a78bfa;
    }
    
    .badge-ghost.badge-info {
      color: #38bdf8;
    }
    
    .badge-ghost.badge-success {
      color: #34d399;
    }
    
    .badge-ghost.badge-warning {
      color: #fbbf24;
    }
    
    .badge-ghost.badge-error {
      color: #f87171;
    }
    
    /* Badge Hover Effects */
    .badge:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .badge-outline:hover,
    .badge-dash:hover {
      background: rgba(255, 255, 255, 0.05);
    }
    
    .badge-ghost:hover {
      background: rgba(255, 255, 255, 0.1);
    }
    
    /* Badge in Dark Theme Adjustments */
    @media (prefers-color-scheme: dark) {
      .badge-soft {
        opacity: 0.9;
      }
      
      .badge-ghost {
        opacity: 0.8;
      }
    }

    /* Chat Settings Component Styles */
    .chat-settings-content {
        padding: 0;
    }
    
    .settings-header {
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .settings-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #111827;
        margin-bottom: 0.5rem;
    }
    
    .settings-subtitle {
        color: #6b7280;
        font-size: 0.875rem;
        margin: 0;
    }
    
    .coming-soon-notice {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: #eff6ff;
        border: 1px solid #bfdbfe;
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .notice-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }
    
    .notice-content h3 {
        color: #1d4ed8;
        font-size: 1.125rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
    }
    
    .notice-content p {
        color: #1e40af;
        margin: 0;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .feature-preview {
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: #f9fafb;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
    }
    
    .feature-preview h4 {
        color: #374151;
        font-size: 1rem;
        font-weight: 600;
        margin: 0 0 1rem 0;
    }
    
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 0.75rem;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        background: white;
        border-radius: 6px;
        border: 1px solid #e5e7eb;
        font-size: 0.875rem;
        color: #374151;
    }
    
    .feature-icon {
        font-size: 1.125rem;
        flex-shrink: 0;
    }
    
    .settings-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }
    
    .section-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.125rem;
        font-weight: 600;
        color: #111827;
        margin: 0 0 0.5rem 0;
    }
    
    .section-icon {
        width: 1.25rem;
        height: 1.25rem;
        fill: currentColor;
    }
    
    .section-description {
        color: #6b7280;
        font-size: 0.875rem;
        margin: 0 0 1.5rem 0;
        line-height: 1.5;
    }
    
    .setting-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .setting-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .setting-info {
        flex: 1;
    }
    
    .setting-label {
        font-weight: 500;
        color: #111827;
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .setting-desc {
        color: #6b7280;
        font-size: 0.8125rem;
        line-height: 1.4;
    }
    
    .setting-control {
        flex-shrink: 0;
    }
    
    .form-select {
        padding: 0.5rem 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 0.875rem;
        color: #111827;
        background: white;
        min-width: 120px;
    }
    
    .form-select:disabled {
        background: #f9fafb;
        color: #6b7280;
        cursor: not-allowed;
    }
    
    .toggle-switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;
    }
    
    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #d1d5db;
        transition: 0.3s;
        border-radius: 24px;
    }
    
    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }
    
    input:checked + .toggle-slider {
        background-color: #3b82f6;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(20px);
    }
    
    input:disabled + .toggle-slider {
        cursor: not-allowed;
        opacity: 0.6;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        border-radius: 6px;
        border: none;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-primary {
        background: #3b82f6;
        color: white;
    }
    
    .btn-primary:hover:not(:disabled) {
        background: #2563eb;
    }
    
    .btn-danger {
        background: #ef4444;
        color: white;
    }
    
    .btn-danger:hover:not(:disabled) {
        background: #dc2626;
    }
    
    .btn:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        opacity: 0.6;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .coming-soon-notice {
            flex-direction: column;
            text-align: center;
        }
        
        .feature-grid {
            grid-template-columns: 1fr;
        }
        
        .setting-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
        }
        
        .setting-control {
            align-self: flex-end;
        }
      }