/* ==============================================
   BASE STYLES
   ============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: 100vh;
}

/* Converter Tool Section */
.converter-tool {
    padding: 10px 0;
}

.tool-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.tool-title i {
    color: #11998e;
    margin-right: 10px;
}

.tool-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
    font-weight: 400;
    line-height: 1.5;
}

/* ==============================================
   ROBOTS.TXT VALIDATOR SPECIFIC STYLES
   ============================================== */

/* URL Opener Container */
.url-opener-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eeff;
}

/* Input Section */
.url-input-section {
    margin-bottom: 30px;
}

.url-input-label {
    display: block;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.url-input-label i {
    color: #11998e;
    margin-right: 10px;
}

.url-input-hint {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-top: 5px;
}

/* Validation Methods */
.validator-methods {
    background: #f8f9ff;
    border-radius: 10px;
    border: 1px solid #e0e7ff;
    overflow: hidden;
}

.method-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e0e7ff;
}

.method-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    border-right: 1px solid #e0e7ff;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.method-tab:last-child {
    border-right: none;
}

.method-tab:hover {
    background: #f8f9ff;
    color: #11998e;
}

.method-tab.active {
    background: #11998e;
    color: white;
    font-weight: 600;
}

.method-tab.active i {
    color: white;
}

.method-content {
    padding: 25px;
    display: none;
}

.method-content.active {
    display: block;
}

.url-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.url-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.url-input:focus {
    outline: none;
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

.url-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.url-textarea:focus {
    outline: none;
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #11998e;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(17, 153, 142, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    background: rgba(17, 153, 142, 0.1);
}

.file-upload-area i {
    font-size: 3rem;
    color: #11998e;
    margin-bottom: 15px;
}

.file-upload-area h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.file-upload-area p {
    color: #666;
    margin-bottom: 20px;
}

.file-info {
    margin-top: 20px;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e0e7ff;
}

.file-details i {
    font-size: 1.5rem;
    color: #11998e;
}

.file-details div {
    flex: 1;
}

#fileSize {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Buttons */
.url-control-btn {
    padding: 12px 25px;
    background: #f8f9ff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #555;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.url-control-btn:hover {
    background: #e8eeff;
    border-color: #11998e;
    color: #11998e;
}

.url-control-btn.success {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    border-color: #11998e;
    color: white;
    font-weight: 600;
}

.url-control-btn.success:hover {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
}

.url-control-btn.danger {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
}

.url-control-btn.danger:hover {
    background: #ff3742;
}

.url-action-btn {
    padding: 8px 12px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.url-action-btn:hover {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
}

.option-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Validation Options */
.url-options {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.url-options h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.url-options h3 i {
    color: #11998e;
}

.url-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.url-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.url-option input[type="checkbox"] {
    margin-top: 3px;
}

.url-option label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}

/* Controls */
.url-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Results Section */
.url-list-container {
    background: white;
    border-radius: 10px;
    border: 1px solid #e8eeff;
    overflow: hidden;
    margin-bottom: 20px;
}

.url-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9ff;
    border-bottom: 1px solid #e8eeff;
}

.url-list-header h3 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.url-list-header h3 i {
    color: #11998e;
}

.url-count {
    background: #11998e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Validation Summary */
.validation-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 25px;
    background: #f8f9ff;
}

.score-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
}

.score-card.success {
    border-color: #38ef7d;
}

.score-card.warning {
    border-color: #ffa502;
}

.score-card.error {
    border-color: #ff4757;
}

.score-card.info {
    border-color: #2ed573;
}

.score-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.score-card.success .score-icon {
    color: #38ef7d;
}

.score-card.warning .score-icon {
    color: #ffa502;
}

.score-card.error .score-icon {
    color: #ff4757;
}

.score-card.info .score-icon {
    color: #2ed573;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.score-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

/* Results Tabs */
.results-tabs {
    display: flex;
    border-bottom: 1px solid #e8eeff;
    background: white;
}

.results-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    border-right: 1px solid #e8eeff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.results-tab:last-child {
    border-right: none;
}

.results-tab:hover {
    background: #f8f9ff;
}

.results-tab.active {
    background: #11998e;
    color: white;
}

.results-tab.active .tab-count {
    background: white;
    color: #11998e;
}

.tab-count {
    background: #e8eeff;
    color: #555;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Results Content */
.results-content {
    padding: 25px;
    min-height: 300px;
}

.results-pane {
    display: none;
}

.results-pane.active {
    display: block;
}

/* Test URLs Section */
.test-urls-section {
    padding: 25px;
}

.test-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.test-result {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e0e7ff;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.result-details {
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e7ff;
}

/* Analysis Content */
.validation-analysis {
    padding: 25px;
}

/* Features Section */
.features {
    padding: 10px 0;
    background: #f8f9ff;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8eeff;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(17, 153, 142, 0.12);
    border-color: #11998e;
}

.feature-icon {
    font-size: 3rem;
    color: #11998e;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 20px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    margin-top: 20px;
}

.step {
    text-align: center;
    padding: 35px 25px;
    position: relative;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #11998e;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #11998e, #60a5fa);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Detailed Content Section */
.detailed-content {
    padding: 20px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.content-main h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.content-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eeff;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h3 i {
    color: #11998e;
    font-size: 1.3rem;
}

.content-section p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section p strong {
    color: #2c3e50;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-card {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

.sidebar-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: #11998e;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card ul li {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e7ff;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 20px 0;
    background: white;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8eeff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #11998e;
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.1);
}

.faq-question {
    padding: 10px 10px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    background: #f8f9ff;
}

.faq-question:hover {
    background: rgba(17, 153, 142, 0.05);
}

.faq-question span {
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-answer.active {
    padding: 10px;
    max-height: 1000px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .method-tabs {
        flex-direction: column;
    }
    
    .method-tab {
        border-right: none;
        border-bottom: 1px solid #e0e7ff;
    }
    
    .url-controls {
        flex-direction: column;
    }
    
    .url-control-btn {
        width: 100%;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .results-tabs {
        flex-direction: column;
    }
    
    .results-tab {
        border-right: none;
        border-bottom: 1px solid #e8eeff;
    }
    
    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .tool-title {
        font-size: 1.8rem;
    }
    
    .tool-subtitle {
        font-size: 1.1rem;
    }
}
/* Replace all green colors with blue colors */

/* Primary Blue Color */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --secondary-blue: #60a5fa;
    --accent-blue: #93c5fd;
}

/* Update all instances of #11998e (green) to #2563eb (blue) */
.tool-title i {
    color: #2563eb; /* Was #11998e */
}

.method-tab.active {
    background: #2563eb; /* Was #11998e */
}

.file-upload-area {
    border-color: #2563eb; /* Was #11998e */
}

.file-upload-area i {
    color: #2563eb; /* Was #11998e */
}

.file-details i {
    color: #2563eb; /* Was #11998e */
}

.url-control-btn.success {
    background: linear-gradient(135deg, #2563eb, #60a5fa); /* Was #11998e, #38ef7d */
    border-color: #2563eb; /* Was #11998e */
}

.url-control-btn.success:hover {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6); /* Was #0f897f, #32d871 */
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); /* Was rgba(17, 153, 142, 0.3) */
}

.url-list-header h3 i {
    color: #2563eb; /* Was #11998e */
}

.url-count {
    background: #2563eb; /* Was #11998e */
}

.results-tab.active {
    background: #2563eb; /* Was #11998e */
}

.results-tab.active .tab-count {
    color: #2563eb; /* Was #11998e */
}

/* Features and Steps */
.feature-card:hover {
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12); /* Was rgba(17, 153, 142, 0.12) */
    border-color: #2563eb; /* Was #11998e */
}

.feature-icon {
    background: linear-gradient(135deg, #2563eb, #60a5fa); /* Was #11998e, #38ef7d */
    -webkit-background-clip: text;
    background-clip: text;
}

.step:hover {
    border-color: #2563eb; /* Was #11998e */
}

.step-number {
    background: linear-gradient(135deg, #2563eb, #60a5fa); /* Was #11998e, #38ef7d */
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); /* Was rgba(17, 153, 142, 0.3) */
}

/* Content Sections */
.content-section h3 i {
    color: #2563eb; /* Was #11998e */
}

.sidebar-card h3 i {
    color: #2563eb; /* Was #11998e */
}

/* FAQ */
.faq-item:hover {
    border-color: #2563eb; /* Was #11998e */
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1); /* Was rgba(17, 153, 142, 0.1) */
}

.faq-question span {
    color: #2563eb; /* Was #11998e */
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05); /* Was rgba(17, 153, 142, 0.05) */
}

/* Update all hover effects that used green */
.url-control-btn:hover {
    border-color: #2563eb; /* Was #11998e */
    color: #2563eb; /* Was #11998e */
}

.method-tab:hover {
    color: #2563eb; /* Was #11998e */
}

.url-input:focus {
    border-color: #2563eb; /* Was #11998e */
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); /* Was rgba(17, 153, 142, 0.1) */
}

.url-textarea:focus {
    border-color: #2563eb; /* Was #11998e */
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); /* Was rgba(17, 153, 142, 0.1) */
}

/* Update validation score cards */
.score-card.success {
    border-color: #60a5fa; /* Was #38ef7d */
}

.score-card.success .score-icon {
    color: #60a5fa; /* Was #38ef7d */
}

/* Update options section */
.url-options h3 i {
    color: #2563eb; /* Was #11998e */
}