/* Reset and 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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	background: white;
    border-radius: 16px;
    overflow: hidden;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.8rem;
    color: #667eea;
    margin: 0;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.lang-switcher a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: #667eea;
}

.lang-switcher span {
    color: #ccc;
}

/* Main Content */
main {
    margin-bottom: 60px;
}

.tool-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-box p {
    margin-bottom: 10px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.limit-info {
    font-weight: 600;
    color: #667eea;
}

/* Input Section */
.input-section {
    margin-bottom: 30px;
}

#urlInput {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    resize: vertical;
    transition: border-color 0.3s;
    margin-bottom: 20px;
}

#urlInput:focus {
    outline: none;
    border-color: #667eea;
}

.file-upload {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.file-label {
    display: inline-block;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px dashed #667eea;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #667eea;
}

.file-label:hover {
    background: #667eea;
    color: white;
}

#fileName {
    color: #666;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 20px;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Loading Spinner */
.spinner {
    text-align: center;
    padding: 40px;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Section */
#results {
    margin-top: 40px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h2 {
    color: #333;
    font-size: 1.5rem;
}

.export-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.results-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 0.95rem;
    color: #666;
}

.stat-item strong {
    font-size: 1.2rem;
    color: #333;
}

.stat-item.indexed strong {
    color: #28a745;
}

.stat-item.not-indexed strong {
    color: #dc3545;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

thead {
    background: #f8f9fa;
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-indexed {
    background: #d4edda;
    color: #155724;
}

.status-not-indexed {
    background: #f8d7da;
    color: #721c24;
}

.status-error,
.status-invalid {
    background: #fff3cd;
    color: #856404;
}

/* Footer */

footer {
    padding: 20px 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

 .features {
            margin: 40px 0;
            padding: 30px;
            background: #f8f9ff;
            border-radius: 8px;
        }
        
        .features h2 {
            color: #667eea;
            margin-bottom: 20px;
        }
        
        .features ul {
            list-style: none;
            padding: 0;
        }
        
        .features li {
            padding: 10px 0;
            font-size: 1.05em;
        }
        
        .faq {
            margin: 40px 0;
        }
        
        .faq h2 {
            color: #667eea;
            margin-bottom: 20px;
        }
        
        .faq h3 {
            color: #333;
            margin-top: 20px;
            margin-bottom: 10px;
        }
.seo-description {
            background: #f8f9ff;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            border-left: 4px solid #667eea;
}
        
.seo-description h2 {
            color: #667eea;
            font-size: 1.5em;
            margin-bottom: 10px;
}

	/* Search Engine Radio Group */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 0;
    position: relative;
}

.radio-group label:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-group input[type="radio"]:checked {
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.radio-group input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-group label:has(input:checked) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}


/* Responsive Design */
@media (max-width: 768px) {
    .tool-section {
        padding: 25px 20px;
    }
    
    header h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .header-content {
        justify-content: center;
        text-align: center;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .export-buttons {
        width: 100%;
    }
    
    .btn-secondary {
        flex: 1;
        min-width: 100px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px 8px;
    }
    
    th:first-child,
    td:first-child {
        width: 40px;
    }
		
}



@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .tool-section {
        padding: 20px 15px;
    }
    
    .info-box {
        padding: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
	.radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-group label {
        width: 100%;
        justify-content: flex-start;
    }

}
