/**
 * Sitemap Extractor Pro Styles
 * 
 * These styles are designed to inherit from the site's theme while
 * providing specific styling for the sitemap extractor functionality.
 */

.sitemap-extractor-pro {
    margin: 2em 0;
    font-family: inherit;
}

.sitemap-extractor-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5em;
}

.sitemap-extractor-form label {
    display: block;
    width: 100%;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.sitemap-extractor-form input[type="text"] {
    flex: 1;
    min-width: 250px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sitemap-extractor-form button,
.export-container button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #6200ee;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sitemap-extractor-form button:hover,
.export-container button:hover {
    background-color: #3700b3;
}

.sitemap-results {
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.sitemap-results h3 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.2em;
}

#urls-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1em;
    padding: 1em;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 4px;
}

#urls-list .placeholder {
    color: #999;
    text-align: center;
    padding: 2em 0;
}

#urls-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#urls-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    word-break: break-all;
}

#urls-list li:last-child {
    border-bottom: none;
}

.export-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-container button {
    background-color: #000;
}

.export-container button:hover {
    background-color: #333;
}

.url-count {
    font-size: 0.9em;
    color: #666;
}

#sitemap-loading {
    text-align: center;
    padding: 1em;
}

#sitemap-error {
    padding: 1em;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    color: #c62828;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .sitemap-extractor-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sitemap-extractor-form input[type="text"] {
        width: 100%;
    }
} 