 .main-container {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            
            margin: 0 auto;
            
            background-color: #f5f5f5;
            color: #333;
        }
        
        h1 {
            text-align: center;
            color: #2c3e50;
        }
        
        .container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .upload-section {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            border: 2px dashed #ccc;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .upload-section:hover {
            border-color: #3498db;
            background-color: #f8f9fa;
        }
        
        #imagePreview {
            max-width: 100%;
            max-height: 300px;
            margin: 20px auto;
            display: block;
            border-radius: 4px;
        }
        
        #fileInput {
            display: none;
        }
        
        .btn {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        .btn:hover {
            background-color: #2980b9;
        }
        
        .palette {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 20px;
            gap: 10px;
        }
        
        .color-box {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 5px;
            box-sizing: border-box;
            font-size: 12px;
            color: white;
            text-shadow: 0 0 2px black;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .color-box:hover {
            transform: scale(1.05);
        }
        
        .loading {
            text-align: center;
            margin: 20px 0;
            display: none;
        }
        
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top: 4px solid #3498db;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .instructions {
            margin-top: 30px;
            padding: 15px;
            background-color: #e8f4fc;
            border-radius: 8px;
            font-size: 14px;
        }


 /* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
 #palette-guide-article {
      width: 95%;
      margin: 0 auto;
      padding: 2rem 1.5rem 3rem 1.5rem;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    /* Hero Section */
    .palette-guide-hero {
      text-align: center;
      margin-bottom: 2.5rem;
      padding: 2rem 1.5rem;
      background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
      border-radius: 32px;
      box-shadow: 0 12px 30px rgba(52, 152, 219, 0.3);
    }

    .palette-guide-hero h2 {
      font-size: 2.6rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      font-family: 'Playfair Display', serif;
    }

    .palette-guide-hero .palette-hero-sub {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      max-width: 720px;
      margin: 0 auto;
      line-height: 1.5;
    }

    .palette-guide-meta {
      display: flex;
      justify-content: center;
      gap: 2rem;
      color: rgba(255, 255, 255, 0.8);
      font-weight: 500;
      margin-top: 1.2rem;
      flex-wrap: wrap;
    }

    .palette-guide-meta span i {
      margin-right: 0.5rem;
    }

    /* Main Content */
    .palette-main-content {
      background: white;
      border-radius: 28px;
      padding: 2rem 2rem 2.5rem 2rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(52, 152, 219, 0.15);
    }

    .palette-main-content h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: #3498db;
      border-left: 5px solid #9b59b6;
      padding-left: 1rem;
      font-family: 'Playfair Display', serif;
    }

    .palette-main-content h2:first-of-type {
      margin-top: 0;
    }

    .palette-main-content h3 {
      font-size: 1.35rem;
      font-weight: 600;
      margin: 1.5rem 0 0.75rem 0;
      color: #9b59b6;
    }

    .palette-main-content p {
      font-size: 1.05rem;
      color: #2d3748;
      margin-bottom: 1.2rem;
      line-height: 1.6;
    }

    .palette-main-content ul, .palette-main-content ol {
      margin: 1rem 0 1.2rem 1.8rem;
      color: #2d3748;
      line-height: 1.6;
    }

    .palette-main-content li {
      margin-bottom: 0.5rem;
    }

    .palette-highlight-box {
      background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(155, 89, 182, 0.05));
      border-left: 6px solid #9b59b6;
      padding: 1.25rem 1.5rem;
      border-radius: 20px;
      margin: 1.75rem 0;
    }

    .palette-pro-tip {
      background: rgba(155, 89, 182, 0.1);
      border-radius: 20px;
      padding: 1.2rem 1.5rem;
      margin: 1.5rem 0;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      border: 1px solid rgba(52, 152, 219, 0.3);
    }

    .palette-pro-tip i {
      font-size: 1.8rem;
      color: #3498db;
    }

    .palette-stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.2rem;
      margin: 2rem 0;
    }

    .palette-stat-card {
      background: #f5f7fa;
      border-radius: 20px;
      padding: 1.2rem;
      text-align: center;
      transition: all 0.2s;
      border: 1px solid rgba(52, 152, 219, 0.2);
    }

    .palette-stat-card .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: #3498db;
      margin-bottom: 0.25rem;
    }

    .palette-quote-block {
      background: #f5f7fa;
      padding: 1.5rem;
      border-radius: 24px;
      text-align: center;
      font-style: italic;
      margin: 1.5rem 0;
      border: 1px solid rgba(52, 152, 219, 0.2);
    }

    .palette-quote-block i {
      font-size: 2rem;
      color: #9b59b6;
      margin-bottom: 0.5rem;
      display: inline-block;
    }

    .palette-table-wrapper {
      overflow-x: auto;
      margin: 1.5rem 0;
    }

    .palette-harmony-table {
      width: 100%;
      border-collapse: collapse;
      background: #f5f7fa;
      border-radius: 16px;
      overflow: hidden;
    }

    .palette-harmony-table th, .palette-harmony-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    }

    .palette-harmony-table th {
      background: rgba(52, 152, 219, 0.1);
      font-weight: 600;
      color: #3498db;
    }

    .palette-harmony-table tr:hover {
      background: rgba(155, 89, 182, 0.05);
    }

    .palette-applications-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
      margin: 1.5rem 0;
    }

    .palette-application-card {
      background: #f5f7fa;
      border-radius: 16px;
      padding: 1.2rem;
      border: 1px solid rgba(52, 152, 219, 0.2);
      transition: all 0.2s;
    }

    .palette-application-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(52, 152, 219, 0.1);
    }

    .palette-application-title {
      font-weight: 700;
      color: #3498db;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .palette-footer-note {
      margin-top: 2.5rem;
      text-align: center;
      font-size: 0.85rem;
      color: #718096;
      border-top: 1px solid #e2e8f0;
      padding-top: 2rem;
    }

    @media (max-width: 768px) {
      .palette-guide-hero h2 {
        font-size: 2rem;
      }
      .palette-main-content {
        padding: 1.5rem;
      }
      #palette-guide-article {
        padding: 1rem;
      }
    }