:root {
        --primary: #4361ee;
        --primary-dark: #3a56d4;
        --secondary: #7209b7;
        --dark: #212529;
        --light: #f8f9fa;
        --gray: #6c757d;
        --success: #4cc9f0;
        --warning: #f72585;
        --border-radius: 8px;
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .main-container {
        background-color: #f5f7fa;
        color: var(--dark);
        line-height: 1.6;
        min-height: 100vh;
        padding: 20px;
    }

    .container {
        width: 95%;
        margin: 0 auto;
        background-color: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        padding: 30px;
    }

    .header-title {
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        color: var(--primary);
    }

    .subtitle {
        color: var(--gray);
        font-size: 1rem;
    }

    .tool-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .text-editor {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .input-group {
        margin-bottom: 15px;
    }

    label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--dark);
    }

    textarea,
    input[type="text"] {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: var(--border-radius);
        font-size: 1rem;
        transition: var(--transition);
        resize: vertical;
    }

    textarea {
        min-height: 200px;
    }

    textarea:focus,
    input[type="text"]:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    }

    .options-row {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .checkbox-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .checkbox-group input[type="checkbox"] {
        width: auto;
    }

    .button-group {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    button {
        background-color: var(--primary);
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-weight: 600;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    button:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
    }

    button.secondary {
        background-color: white;
        color: var(--primary);
        border: 1px solid var(--primary);
    }

    button.secondary:hover {
        background-color: #f0f4ff;
    }

    button.warning {
        background-color: var(--warning);
    }

    button.warning:hover {
        background-color: #e01a6a;
    }

    .stats {
        margin-top: 20px;
        padding: 15px;
        background-color: #f8f9fa;
        border-radius: var(--border-radius);
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .stat-value {
        font-weight: 700;
        color: var(--primary);
    }

    .help-section {
        margin-top: 40px;
        padding: 20px;
        background-color: #f0f4ff;
        border-radius: var(--border-radius);
        border-left: 4px solid var(--primary);
    }

    .help-section h3 {
        margin-bottom: 10px;
        color: var(--primary);
    }

    .help-section ul {
        padding-left: 20px;
    }

    .help-section li {
        margin-bottom: 8px;
    }

    @media (max-width: 768px) {
        .container {
            padding: 20px;
        }

        .options-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .button-group {
            flex-direction: column;
            width: 100%;
        }

        button {
            width: 100%;
            justify-content: center;
        }
    }

    /* Notification */
    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 25px;
        background-color: var(--primary);
        color: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        transform: translateX(150%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notification.show {
        transform: translateX(0);
    }

    /* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
    #findreplace-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 */
    .findreplace-guide-hero {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 2rem 1.5rem;
        background: linear-gradient(135deg, #4361ee 0%, #f72585 100%);
        border-radius: 32px;
        box-shadow: 0 12px 30px rgba(67, 97, 238, 0.3);
    }

    .findreplace-guide-hero h2 {
        font-size: 2.6rem;
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
        font-family: 'Montserrat', serif;
    }

    .findreplace-guide-hero .findreplace-hero-sub {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
        max-width: 720px;
        margin: 0 auto;
        line-height: 1.5;
    }

    .findreplace-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;
    }

    .findreplace-guide-meta span i {
        margin-right: 0.5rem;
    }

    /* Main Content */
    .findreplace-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);
    }

    .findreplace-main-content h2 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-top: 2rem;
        margin-bottom: 1rem;
        color: #4361ee;
        border-left: 5px solid #f72585;
        padding-left: 1rem;
        font-family: 'Montserrat', serif;
    }

    .findreplace-main-content h2:first-of-type {
        margin-top: 0;
    }

    .findreplace-main-content h3 {
        font-size: 1.35rem;
        font-weight: 600;
        margin: 1.5rem 0 0.75rem 0;
        color: #f72585;
    }

    .findreplace-main-content p {
        font-size: 1.05rem;
        color: #2d3748;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }

    .findreplace-main-content ul,
    .findreplace-main-content ol {
        margin: 1rem 0 1.2rem 1.8rem;
        color: #2d3748;
        line-height: 1.6;
    }

    .findreplace-main-content li {
        margin-bottom: 0.5rem;
    }

    .findreplace-highlight-box {
        background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(247, 37, 133, 0.05));
        border-left: 6px solid #f72585;
        padding: 1.25rem 1.5rem;
        border-radius: 20px;
        margin: 1.75rem 0;
    }

    .findreplace-pro-tip {
        background: rgba(247, 37, 133, 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);
    }

    .findreplace-pro-tip i {
        font-size: 1.8rem;
        color: #f72585;
    }

    .findreplace-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
        margin: 2rem 0;
    }

    .findreplace-stat-card {
        background: #f8f9fa;
        border-radius: 20px;
        padding: 1.2rem;
        text-align: center;
        transition: all 0.2s;
        border: 1px solid rgba(67, 97, 238, 0.2);
    }

    .findreplace-stat-card .stat-number {
        font-size: 2rem;
        font-weight: 800;
        color: #4361ee;
        margin-bottom: 0.25rem;
    }

    .findreplace-quote-block {
        background: #f8f9fa;
        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);
    }

    .findreplace-quote-block i {
        font-size: 2rem;
        color: #f72585;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    .findreplace-table-wrapper {
        overflow-x: auto;
        margin: 1.5rem 0;
    }

    .findreplace-examples-table {
        width: 100%;
        border-collapse: collapse;
        background: #f8f9fa;
        border-radius: 16px;
        overflow: hidden;
    }

    .findreplace-examples-table th,
    .findreplace-examples-table td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid rgba(67, 97, 238, 0.2);
    }

    .findreplace-examples-table th {
        background: rgba(67, 97, 238, 0.1);
        font-weight: 600;
        color: #4361ee;
    }

    .findreplace-examples-table tr:hover {
        background: rgba(247, 37, 133, 0.05);
    }

    .findreplace-applications-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
        margin: 1.5rem 0;
    }

    .findreplace-app-card {
        background: #f8f9fa;
        border-radius: 16px;
        padding: 1.2rem;
        border: 1px solid rgba(67, 97, 238, 0.2);
        transition: all 0.2s;
    }

    .findreplace-app-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(67, 97, 238, 0.1);
    }

    .findreplace-app-title {
        font-weight: 700;
        color: #4361ee;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .findreplace-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) {
        .findreplace-guide-hero h2 {
            font-size: 2rem;
        }

        .findreplace-main-content {
            padding: 1.5rem;
        }

        #findreplace-guide-article {
            padding: 1rem;
        }
    }