 /* Base styles exactly from cart abandonment calculator */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }

        /* Header and Navigation Styles */
        .site2info-header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .site2info-header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .site2info-logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2c3e50;
            text-decoration: none;
            padding: 20px 0;
        }

        .site2info-logo span {
            color: #3498db;
        }

        .site2info-nav-menu {
            display: flex;
            list-style: none;
        }

        .site2info-nav-item {
            position: relative;
        }

        .site2info-nav-link {
            display: block;
            padding: 20px 15px;
            color: #34495e;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
        }

        .site2info-nav-link:hover,
        .site2info-nav-link.active {
            color: #3498db;
            border-bottom-color: #3498db;
        }

        .site2info-mobile-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #2c3e50;
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }

        /* Header section */
        header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e1e5eb;
        }

        header h1 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 2.5rem;
        }

        header p {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Tool wrapper */
        .xml-tool-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 40px;
        }

        .xml-input-container,
        .xml-output-container {
            flex: 1;
            min-width: 300px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            padding: 30px;
        }

        .section-title {
            color: #2c3e50;
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
            font-size: 1.5rem;
        }

        .input-group {
            margin-bottom: 25px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #34495e;
        }

        textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s;
            background-color: white;
            font-family: 'Courier New', monospace;
            resize: vertical;
            min-height: 200px;
        }

        textarea:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }

        .button-group {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }

        .format-btn, .validate-btn, .clear-btn, .copy-btn, .sample-btn, .download-btn {
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 1rem;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .format-btn {
            background-color: #3498db;
            flex: 1;
        }

        .format-btn:hover {
            background-color: #2980b9;
        }

        .validate-btn {
            background-color: #27ae60;
            flex: 1;
        }

        .validate-btn:hover {
            background-color: #219a52;
        }

        .clear-btn {
            background-color: #95a5a6;
            flex: 1;
        }

        .clear-btn:hover {
            background-color: #7f8c8d;
        }

        .sample-btn {
            background-color: #9b59b6;
            flex: 1;
        }

        .sample-btn:hover {
            background-color: #8e44ad;
        }

        .action-buttons {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .copy-btn {
            background-color: #f39c12;
        }

        .copy-btn:hover {
            background-color: #e67e22;
        }

        .download-btn {
            background-color: #2c3e50;
        }

        .download-btn:hover {
            background-color: #1a252f;
        }

        .result-box {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
            border-left: 4px solid #3498db;
        }

        .result-title {
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .status-success {
            color: #27ae60;
            font-weight: bold;
        }

        .status-error {
            color: #e74c3c;
            font-weight: bold;
        }

        .xml-output {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 15px;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            overflow-x: auto;
            white-space: pre-wrap;
            word-wrap: break-word;
            max-height: 400px;
            overflow-y: auto;
            margin-top: 15px;
            border: 1px solid #34495e;
        }

        .error-list {
            margin-top: 15px;
            list-style: none;
        }

        .error-item {
            background-color: #fee;
            border-left: 4px solid #e74c3c;
            padding: 12px;
            margin-bottom: 8px;
            border-radius: 4px;
            font-size: 0.95rem;
        }

        .error-line {
            font-weight: 700;
            color: #c0392b;
        }

        .options-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            align-items: center;
        }

        .radio-group {
            display: flex;
            gap: 15px;
        }

        .radio-group label {
            display: inline-flex;
            align-items: center;
            font-weight: normal;
            margin-bottom: 0;
            cursor: pointer;
        }

        .radio-group input[type="radio"] {
            margin-right: 5px;
            width: auto;
        }

        .info-box {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            border-top: 4px solid #3498db;
        }

        .info-box h3 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .info-box p {
            color: #5a6268;
            font-size: 0.95rem;
        }

        .footer-note {
            text-align: center;
            color: #7f8c8d;
            font-size: 0.9rem;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e1e5eb;
        }

        /* Header actions for output section */
        .output-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .output-header h3 {
            color: #2c3e50;
            margin: 0;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .site2info-mobile-toggle {
                display: block;
            }

            .site2info-nav-menu {
                position: fixed;
                top: 70px;
                left: -100%;
                flex-direction: column;
                background-color: #fff;
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
                z-index: 999;
            }

            .site2info-nav-menu.active {
                left: 0;
            }

            .site2info-nav-item {
                width: 100%;
            }

            .site2info-nav-link {
                padding: 15px;
                border-bottom: 1px solid #eee;
            }
        }

        @media (max-width: 768px) {
            .xml-tool-wrapper {
                flex-direction: column;
            }

            header h1 {
                font-size: 2rem;
            }

            .button-group {
                flex-direction: column;
            }

            .format-btn, .validate-btn, .clear-btn, .sample-btn {
                width: 100%;
            }
            
            .options-row {
                flex-direction: column;
                align-items: flex-start;
            }

            .action-buttons {
                flex-direction: column;
                width: 100%;
            }

            .copy-btn, .download-btn {
                width: 100%;
            }
        }

        @media (max-width: 576px) {
            .xml-input-container,
            .xml-output-container {
                padding: 20px;
            }

            .site2info-header-container {
                padding: 0 15px;
            }
        }
        
        
        
        /* Start SQL Formatter & Validator -specific enhancements without disrupting base styles */
        .sql-keyword {
            color: #ff6b6b;
            font-weight: bold;
        }
        
        .sql-string {
            color: #51cf66;
        }
        
        .sql-comment {
            color: #868e96;
            font-style: italic;
        }
        
        .sql-output {
            background-color: #1e2b3a;
            color: #e9ecef;
            padding: 20px;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            overflow-x: auto;
            white-space: pre-wrap;
            word-wrap: break-word;
            max-height: 400px;
            overflow-y: auto;
            border: 1px solid #4a5568;
            line-height: 1.5;
        }
        
        .sql-output .keyword { color: #ff8b8b; }
        .sql-output .function { color: #69db7e; }
        .sql-output .string { color: #ffd43b; }
        .sql-output .number { color: #5c7cfa; }
        .sql-output .comment { color: #868e96; }
        
        .info-section {
            margin-top: 50px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .info-card {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .info-card h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
            font-size: 1.5rem;
        }
        
        .info-card h3 {
            color: #2c3e50;
            margin: 20px 0 10px;
            font-size: 1.2rem;
        }
        
        .info-card ul, .info-card ol {
            margin-left: 20px;
            color: #5a6268;
        }
        
        .info-card li {
            margin-bottom: 8px;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border-bottom: 1px solid #e1e5eb;
            padding-bottom: 15px;
        }
        
        .faq-item:last-child {
            border-bottom: none;
        }
        
        .faq-question {
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 8px;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .faq-question:hover {
            color: #3498db;
        }
        
        .faq-answer {
            color: #5a6268;
            padding-left: 20px;
            border-left: 3px solid #3498db;
            margin-top: 10px;
        }
        
        .keyword-badge {
            display: inline-block;
            background-color: #e7f5ff;
            color: #1971c2;
            padding: 2px 8px;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.9rem;
            margin: 2px;
        }
        
        .method-box {
            background-color: #f1f9ff;
            border-radius: 8px;
            padding: 15px;
            margin: 15px 0;
        }
        
        .method-box p {
            margin: 5px 0;
        }
        
        .example-sql {
            background-color: #1e2b3a;
            color: #e9ecef;
            padding: 15px;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            overflow-x: auto;
            margin: 15px 0;
        }
        
        @media (max-width: 768px) {
            .info-section {
                grid-template-columns: 1fr;
            }
        }
        
         /* Finish SQL Formatter & Validator -specific enhancements without disrupting base styles */
         
         
         /* Fix for mobile overlapping issue - Copy/Download buttons */
@media (max-width: 768px) {
    .output-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .output-header h3,
    .output-header .section-title {
        margin-bottom: 5px;
        width: 100%;
    }
    
    .output-header .action-buttons {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        gap: 10px;
    }
    
    .output-header .action-buttons .copy-btn,
    .output-header .action-buttons .download-btn {
        flex: 1;
        margin: 0;
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Additional fix for very small devices */
@media (max-width: 480px) {
    .output-header .action-buttons {
        flex-direction: column !important;
    }
    
    .output-header .action-buttons .copy-btn,
    .output-header .action-buttons .download-btn {
        width: 100%;
    }
}

/* Ensure the output header has proper spacing */
.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Improve button spacing */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.copy-btn, .download-btn {
    padding: 10px 16px;
    font-size: 0.95rem;
}