
        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --header-bg: #f0f4f8;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: white;
            color: var(--text-color);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* Header Styles */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            border-bottom: 1px solid var(--border-color);
            padding: 0.75rem 0;
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 1.5rem;
        }
        
        .nav-link {
            color: #555;
            font-weight: 500;
            transition: color 0.3s;
            padding: 0.5rem 1rem;
            border-radius: 6px;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.1);
        }
        
        .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .page-header::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background-image: radial-gradient(rgba(255,255,255,0.8) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.3;
            transform: rotate(30deg);
        }
        
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        
        /* Tool Card Styles */
        .tool-card {
            background: white;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .tool-header {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .tool-header h2 {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.75rem;
            font-size: 1.8rem;
        }
        
        .tool-header p {
            color: var(--text-muted);
            font-size: 1.05rem;
        }
        
        /* Form Styles */
        .form-label {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-color);
            font-size: 1.05rem;
        }
        
        .form-control {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 1rem;
            transition: all 0.3s;
            font-size: 1rem;
            height: auto;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(44, 125, 160, 0.15);
        }
        
        .form-text {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-top: 0.5rem;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            font-weight: 600;
            padding: 1rem 2rem;
            border-radius: 8px;
            transition: all 0.3s;
            font-size: 1.05rem;
        }
        
        .btn-primary:hover {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .btn-outline-secondary {
            font-weight: 600;
            border-radius: 8px;
            padding: 1rem 2rem;
            font-size: 1.05rem;
        }
        
        /* Result Area */
        .result-container {
            background-color: var(--light-gray);
            border-radius: 8px;
            padding: 2rem;
            margin-top: 2rem;
            position: relative;
            border: 1px solid var(--border-color);
        }
        
        .result-title {
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--primary-color);
            font-size: 1.3rem;
        }
        
        .result-content {
            font-family: 'Courier New', monospace;
            word-break: break-all;
            padding: 1.25rem;
            background-color: white;
            border-radius: 6px;
            border: 1px solid #eee;
            font-size: 1rem;
            line-height: 1.6;
            white-space: pre-wrap;
        }
        
        .copy-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 0.75rem 1.25rem;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
        }
        
        .copy-btn:hover {
            background-color: var(--light-gray);
        }
        
        /* Content Sections */
        .section-title {
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--border-color);
            font-size: 1.5rem;
        }
        
        .usage-step {
            display: flex;
            margin-bottom: 2rem;
            align-items: flex-start;
        }
        
        .step-number {
            width: 36px;
            height: 36px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            flex-shrink: 0;
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .info-box {
            background-color: rgba(44, 125, 160, 0.05);
            border-left: 4px solid var(--primary-color);
            padding: 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 2rem 0;
            font-size: 1.05rem;
        }
        
        .security-alert {
            background-color: #d4edda;
            border-left: 4px solid #28a745;
            padding: 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 2rem 0;
            font-size: 1.05rem;
        }
        
        /* Server Type Selection */
        .server-type {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .server-btn {
            flex: 1;
            min-width: 140px;
            padding: 1.25rem 0.75rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            background-color: white;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .server-btn:hover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
            transform: translateY(-3px);
        }
        
        .server-btn.active {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.1);
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        }
        
        .server-icon {
            font-size: 1.75rem;
            color: var(--primary-color);
            margin-bottom: 0.75rem;
        }
        
        /* Code examples */
        .code-example {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1.25rem;
            margin: 1.5rem 0;
            font-family: 'Courier New', monospace;
            font-size: 1rem;
            border: 1px solid #e9ecef;
            line-height: 1.6;
        }
        
        /* SEO Impact */
        .seo-impact {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .seo-item {
            flex: 1;
            min-width: 280px;
            padding: 1.5rem;
            border-radius: 10px;
            background-color: white;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        
        .seo-item:hover {
            transform: translateY(-5px);
        }
        
        .seo-item i {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .seo-item h5 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
        }
        
        /* Toast notifications */
        .toast-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1050;
        }
        
        .toast {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15);
            padding: 1.25rem;
            display: flex;
            align-items: center;
            gap: 1.25rem;
            max-width: 400px;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.4s ease;
        }
        
        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        .toast-success {
            border-left: 5px solid var(--success-color);
        }
        
        .toast-error {
            border-left: 5px solid var(--danger-color);
        }
        
        .toast-info {
            border-left: 5px solid var(--primary-color);
        }
        
        .toast-icon {
            font-size: 1.75rem;
        }
        
        .toast-success .toast-icon {
            color: var(--success-color);
        }
        
        .toast-error .toast-icon {
            color: var(--danger-color);
        }
        
        .toast-info .toast-icon {
            color: var(--primary-color);
        }
        
        /* Advanced Options */
        .advanced-options {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 10px;
            padding: 2rem;
            margin: 2rem 0;
        }
        
        .advanced-title {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0;
            font-size: 1.3rem;
        }
        
        .advanced-content {
            margin-top: 1.5rem;
			display:none
        }
        .show{display:block}
        .rule-type-selector {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        
        .rule-type-btn {
            flex: 1;
            min-width: 200px;
            padding: 1.25rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            background-color: white;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .rule-type-btn:hover {
            border-color: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .rule-type-btn.active {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.1);
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        }
        
        .rule-icon {
            font-size: 1.75rem;
            color: var(--primary-color);
            margin-bottom: 0.75rem;
        }
        
        .condition-row {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.25rem;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .condition-input {
            flex: 1;
            min-width: 200px;
        }
        
        .add-condition-btn {
            background: none;
            border: none;
            color: var(--primary-color);
            cursor: pointer;
            font-size: 1.5rem;
            padding: 0.5rem;
        }
        
        .remove-condition-btn {
            background: none;
            border: none;
            color: var(--danger-color);
            cursor: pointer;
            font-size: 1.5rem;
            padding: 0.5rem;
        }
        
        .flag-selector {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }
        
        .flag-checkbox {
            display: none;
        }
        
        .flag-label {
            padding: 0.75rem 1.25rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.95rem;
        }
        
        .flag-checkbox:checked + .flag-label {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Test Section */
        .test-section {
            background-color: white;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            padding: 2rem;
            margin-top: 2.5rem;
        }
        
        .test-result {
            margin-top: 1.5rem;
            padding: 1.25rem;
            border-radius: 8px;
            background-color: var(--light-gray);
            font-family: 'Courier New', monospace;
            font-size: 1.05rem;
        }
        
        .test-success {
            color: var(--success-color);
        }
        
        .test-failure {
            color: var(--danger-color);
        }
        
        /* Pattern Examples */
        .pattern-examples {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .pattern-card {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        
        .pattern-card:hover {
            transform: translateY(-5px);
        }
        
        .pattern-title {
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--primary-color);
            font-size: 1.25rem;
        }
        
        .pattern-desc {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 1rem;
        }
        
        .pattern-code {
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            background-color: #f8f9fa;
            padding: 1rem;
            border-radius: 6px;
            line-height: 1.6;
        }
        
        /* Layout Optimization */
        .main-content {
            display: flex;
            gap: 2rem;
        }
        
        .tool-column {
            flex: 0 0 70%;
            max-width: 70%;
        }
        
        .sidebar-column {
            flex: 0 0 30%;
            max-width: 30%;
        }
        
        @media (max-width: 991px) {
            .main-content {
                flex-direction: column;
            }
            
            .tool-column,
            .sidebar-column {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }
        
        /* Tool Input Area */
        .tool-input-area {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .input-group {
            margin-bottom: 1.5rem;
        }
        
        .server-selection {
            margin-bottom: 1.5rem;
        }
        
        .action-buttons-row {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        /* Spacing adjustments */
        .mb-5 {
            margin-bottom: 3rem !important;
        }
        
        .mb-4 {
            margin-bottom: 2.5rem !important;
        }
        
        .mb-3 {
            margin-bottom: 2rem !important;
        }
        
        .mt-4 {
            margin-top: 2.5rem !important;
        }
        
        .mt-5 {
            margin-top: 3rem !important;
        }
        
        .py-4 {
            padding-top: 2.5rem !important;
            padding-bottom: 2.5rem !important;
        }
        
        .py-3 {
            padding-top: 2rem !important;
            padding-bottom: 2rem !important;
        }
        
        /* Alignments */
        .align-items-center {
            align-items: center;
        }
        
        .justify-content-between {
            justify-content: space-between;
        }
        
        .flex-grow-1 {
            flex-grow: 1;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .tool-card {
                padding: 1.5rem;
            }
            
            .server-btn, .rule-type-btn {
                min-width: 140px;
                padding: 1rem 0.5rem;
            }
            
            .form-control {
                padding: 0.9rem;
            }
            
            .btn-primary, .btn-outline-secondary {
                padding: 0.9rem 1.5rem;
            }
            
            .pattern-examples {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 576px) {
            .tool-card {
                padding: 1.25rem;
            }
            
            .server-btn, .rule-type-btn {
                min-width: 100%;
                margin-bottom: 0.5rem;
            }
            
            .condition-row {
                flex-direction: column;
                align-items: stretch;
            }
            
            .condition-input {
                min-width: 100%;
            }
            
            .action-buttons-row {
                flex-direction: column;
            }
        }
    