:root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #7209b7;
            --dark: #212529;
            --light: #f8f9fa;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #4cc9f0;
            --warning: #f72585;
            --border-radius: 12px;
            --shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        /* Dark Mode Variables */
        @media (prefers-color-scheme: dark) {
            :root {
                --dark: #f8f9fa;
                --light: #212529;
                --light-gray: #343a40;
                --gray: #adb5bd;
            }
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .main-container {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            transition: background-color 0.3s, color 0.3s;
        }

        .container {
            width: 95%;
            margin: 0 auto;
        }

        .header-title {
            text-align: center;
            padding: 40px 20px;
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 800;
        }

        .subtitle {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto 30px;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }

        @media (max-width: 900px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }

        .input-section, .output-section {
            background: var(--light);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 30px;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .section-title i {
            margin-right: 10px;
            font-size: 1.5rem;
        }

        textarea {
            width: 100%;
            min-height: 300px;
            padding: 15px;
            border: 1px solid var(--light-gray);
            border-radius: var(--border-radius);
            font-size: 1rem;
            resize: vertical;
            margin-bottom: 20px;
            transition: var(--transition);
            background-color: var(--light);
            color: var(--dark);
        }

        textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .options-panel {
            background: var(--light-gray);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 20px;
        }

        .option-group {
            margin-bottom: 15px;
        }

        .option-group:last-child {
            margin-bottom: 0;
        }

        .option-title {
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .option-title i {
            margin-right: 8px;
            color: var(--primary);
        }

        .radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .radio-option {
            display: flex;
            align-items: center;
        }

        .radio-option input {
            margin-right: 5px;
        }

        select, input[type="text"] {
            padding: 10px 15px;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-size: 1rem;
            width: 100%;
            transition: var(--transition);
            background-color: var(--light);
            color: var(--dark);
        }

        select:focus, input[type="text"]:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .button-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
        }

        button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        button.secondary {
            background: var(--gray);
        }

        button.secondary:hover {
            background: #5a6268;
        }

        button.warning {
            background: var(--warning);
        }

        button.warning:hover {
            background: #e51774;
        }

        button i {
            margin-right: 8px;
        }

        .output-content {
            border: 1px solid var(--light-gray);
            border-radius: var(--border-radius);
            padding: 15px;
            min-height: 300px;
            margin-bottom: 20px;
            overflow-y: auto;
            background-color: var(--light);
            white-space: pre-wrap;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px solid var(--light-gray);
            color: var(--gray);
        }

        .stat-item {
            display: flex;
            align-items: center;
        }

        .stat-item i {
            margin-right: 5px;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 40px 0;
        }

        .feature-card {
            background: var(--light);
            padding: 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-card i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .feature-card h3 {
            margin-bottom: 10px;
            color: var(--dark);
        }

        

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            background: #4CAF50;
            color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transform: translateX(150%);
            transition: transform 0.3s ease;
            z-index: 1000;
        }

        .notification.show {
            transform: translateX(0);
        }

        /* Dark mode toggle */
        .dark-mode-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--shadow);
            z-index: 100;
            border: none;
        }

        @media (max-width: 600px) {
            h1 {
                font-size: 2.2rem;
            }
            
            .main-content {
                padding: 0 10px;
            }
            
            .input-section, .output-section {
                padding: 20px;
            }
        }

        /* List styles for output */
        .numbered-list {
            list-style-type: decimal;
            padding-left: 25px;
        }

        .letter-list {
            list-style-type: lower-alpha;
            padding-left: 25px;
        }

        .bullet-list {
            list-style-type: disc;
            padding-left: 25px;
        }

        .custom-list {
            padding-left: 25px;
        }

        .custom-list li {
            display: flex;
            align-items: baseline;
        }

        .custom-list li::before {
            content: attr(data-prefix);
            margin-right: 10px;
        }


 /* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
 #list-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 */
    .list-guide-hero {
      text-align: center;
      margin-bottom: 2.5rem;
      padding: 2rem 1.5rem;
      background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
      border-radius: 32px;
      box-shadow: 0 12px 30px rgba(67, 97, 238, 0.3);
    }

    .list-guide-hero h2 {
      font-size: 2.6rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      font-family: 'Montserrat', serif;
    }

    .list-guide-hero .list-hero-sub {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      max-width: 720px;
      margin: 0 auto;
      line-height: 1.5;
    }

    .list-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;
    }

    .list-guide-meta span i {
      margin-right: 0.5rem;
    }

    /* Main Content */
    .list-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(67, 97, 238, 0.15);
    }

    .list-main-content h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: #4361ee;
      border-left: 5px solid #7209b7;
      padding-left: 1rem;
      font-family: 'Montserrat', serif;
    }

    .list-main-content h2:first-of-type {
      margin-top: 0;
    }

    .list-main-content h3 {
      font-size: 1.35rem;
      font-weight: 600;
      margin: 1.5rem 0 0.75rem 0;
      color: #7209b7;
    }

    .list-main-content p {
      font-size: 1.05rem;
      color: #2d3748;
      margin-bottom: 1.2rem;
      line-height: 1.6;
    }

    .list-main-content ul, .list-main-content ol {
      margin: 1rem 0 1.2rem 1.8rem;
      color: #2d3748;
      line-height: 1.6;
    }

    .list-main-content li {
      margin-bottom: 0.5rem;
    }

    .list-highlight-box {
      background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(114, 9, 183, 0.05));
      border-left: 6px solid #7209b7;
      padding: 1.25rem 1.5rem;
      border-radius: 20px;
      margin: 1.75rem 0;
    }

    .list-pro-tip {
      background: rgba(114, 9, 183, 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(67, 97, 238, 0.3);
    }

    .list-pro-tip i {
      font-size: 1.8rem;
      color: #7209b7;
    }

    .list-stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.2rem;
      margin: 2rem 0;
    }

    .list-stat-card {
      background: #f5f7fa;
      border-radius: 20px;
      padding: 1.2rem;
      text-align: center;
      transition: all 0.2s;
      border: 1px solid rgba(67, 97, 238, 0.2);
    }

    .list-stat-card .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: #4361ee;
      margin-bottom: 0.25rem;
    }

    .list-quote-block {
      background: #f5f7fa;
      padding: 1.5rem;
      border-radius: 24px;
      text-align: center;
      font-style: italic;
      margin: 1.5rem 0;
      border: 1px solid rgba(67, 97, 238, 0.2);
    }

    .list-quote-block i {
      font-size: 2rem;
      color: #7209b7;
      margin-bottom: 0.5rem;
      display: inline-block;
    }

    .list-table-wrapper {
      overflow-x: auto;
      margin: 1.5rem 0;
    }

    .list-guidelines-table {
      width: 100%;
      border-collapse: collapse;
      background: #f5f7fa;
      border-radius: 16px;
      overflow: hidden;
    }

    .list-guidelines-table th, .list-guidelines-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid rgba(67, 97, 238, 0.2);
    }

    .list-guidelines-table th {
      background: rgba(67, 97, 238, 0.1);
      font-weight: 600;
      color: #4361ee;
    }

    .list-guidelines-table tr:hover {
      background: rgba(114, 9, 183, 0.05);
    }

    .list-types-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
      margin: 1.5rem 0;
    }

    .list-type-card {
      background: #f5f7fa;
      border-radius: 16px;
      padding: 1.2rem;
      border: 1px solid rgba(67, 97, 238, 0.2);
      transition: all 0.2s;
    }

    .list-type-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(67, 97, 238, 0.1);
    }

    .list-type-title {
      font-weight: 700;
      color: #4361ee;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .list-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) {
      .list-guide-hero h2 {
        font-size: 2rem;
      }
      .list-main-content {
        padding: 1.5rem;
      }
      #list-guide-article {
        padding: 1rem;
      }
    }