#sitemap-generator {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #22192b 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
        
        #sitemap-generator h3 {
            text-align: center;
            margin-bottom: 10px;
            font-size: 2.2em;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        #sitemap-generator p {
            text-align: center;
            margin-bottom: 30px;
            opacity: 0.9;
            font-size: 1.1em;
        }
        
        #sitemapForm {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.2);
            margin-bottom: 20px;
        }
        
        #sitemapForm > div {
            margin-bottom: 20px;
        }
        
        #sitemapForm label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            font-size: 1.1em;
        }
        
        #sitemapForm input,
        #sitemapForm select {
            width: 100%;
            padding: 12px 15px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            background: rgba(255,255,255,0.9);
            color: #333;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }
        
        #sitemapForm input:focus,
        #sitemapForm select:focus {
            outline: none;
            background: white;
            box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        
        #sitemapForm small {
            display: block;
            margin-top: 5px;
            opacity: 0.8;
            font-size: 0.9em;
        }
        
        #sitemapForm button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #005eff, #000000);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
        
        #sitemapForm button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(238, 90, 82, 0.4);
        }
        
        #sitemapForm button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }
        
        #progressContainer {
            display: none;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 25px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.2);
            margin-bottom: 20px;
            text-align: center;
        }
        
        #progressText {
            margin-bottom: 15px;
            font-size: 1.1em;
            font-weight: 600;
        }
        
        .progress-bar-container {
            background: rgba(255,255,255,0.2);
            border-radius: 10px;
            height: 20px;
            overflow: hidden;
            margin-bottom: 15px;
        }
        
        #progressBar {
            height: 100%;
            background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
            border-radius: 10px;
            transition: width 0.3s ease;
            width: 0%;
        }
        
        #progressStats {
            font-size: 0.9em;
            opacity: 0.9;
        }
        
        #sitemapResult {
            margin-top: 20px;
        }
        
        .success {
            background: rgba(72, 187, 120, 0.2);
            backdrop-filter: blur(10px);
            padding: 25px;
            border-radius: 12px;
            border: 1px solid rgba(72, 187, 120, 0.3);
            margin-bottom: 20px;
        }
        
        .success h4 {
            margin: 0 0 15px 0;
            font-size: 1.3em;
        }
        
        .success p {
            margin: 10px 0;
        }
        
        .button-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 15px;
        }
        
        .action-button {
            flex: 1;
            min-width: 150px;
            padding: 12px 20px;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 8px;
            cursor: pointer;
            font-size: 1em;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .action-button:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }
        
        .stat-item {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .stat-value {
            font-size: 1.5em;
            font-weight: 700;
            color: #4facfe;
        }
        
        .stat-label {
            font-size: 0.9em;
            opacity: 0.8;
            margin-top: 5px;
        }
        
        .xml-container {
            background: rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.1);
            margin-top: 20px;
        }
        
        .xml-container h5 {
            margin: 0 0 15px 0;
            font-size: 1.2em;
        }
        
        .xml-content {
            background: rgba(0,0,0,0.5);
            padding: 20px;
            border-radius: 8px;
            max-height: 300px;
            overflow-y: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            line-height: 1.4;
        }
        
        .xml-content pre {
            margin: 0;
            white-space: pre-wrap;
            word-break: break-all;
        }
        
        .error {
            background: rgba(239, 68, 68, 0.2);
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }
        
        .error h4 {
            margin: 0 0 10px 0;
            color: #fca5a5;
        }
        
        .url-list {
            max-height: 200px;
            overflow-y: auto;
            background: rgba(0,0,0,0.2);
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
        }
        
        .url-item {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9em;
        }
        
        .url-item:last-child {
            border-bottom: none;
        }
        
        @media (max-width: 768px) {
            #sitemap-generator {
                padding: 15px;
                margin: 10px;
            }
            
            .button-group {
                flex-direction: column;
            }
            
            .action-button {
                min-width: auto;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }