/* sitemap.css - Additional styles for sitemap page */

.sitemap-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sitemap-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.action-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #3498db;
    border: 1px solid #3498db;
}

.action-btn.secondary:hover {
    background: #3498db;
    color: white;
}

.action-btn.success {
    background: #27ae60;
}

.sitemap-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.sitemap-section h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.priority-badge {
    background: #2c3e50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-description {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.page-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.page-card:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.page-info {
    flex: 1;
}

.page-title {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.page-title:hover {
    color: #3498db;
}

.page-url {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    word-break: break-all;
}

.page-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.lastmod, .priority {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lastmod::before {
    content: '📅';
    margin-right: 0.25rem;
}

.priority::before {
    content: '⚡';
    margin-right: 0.25rem;
}

.visit-btn {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.visit-btn:hover {
    background: #3498db;
    color: white;
    text-decoration: none;
}

/* Priority level styling */
.priority-high {
    border-left: 4px solid #e74c3c;
}

.priority-high .priority-badge {
    background: #e74c3c;
}

.priority-medium-high {
    border-left: 4px solid #f39c12;
}

.priority-medium-high .priority-badge {
    background: #f39c12;
}

.priority-medium {
    border-left: 4px solid #3498db;
}

.priority-medium .priority-badge {
    background: #3498db;
}

.priority-low {
    border-left: 4px solid #2ecc71;
}

.priority-low .priority-badge {
    background: #2ecc71;
}

/* Recently updated styling */
.page-card.recently-updated {
    position: relative;
    border-left: 4px solid #f39c12;
}

.update-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #f39c12;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* XML Section */
.xml-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #2c3e50;
    border-radius: 10px;
    color: white;
}

.xml-section h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.xml-section .section-description {
    color: #bdc3c7;
}

.xml-container {
    background: #1a252f;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.xml-code {
    color: #ecf0f1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
}

.xml-code code {
    color: inherit;
}

.xml-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.xml-actions .action-btn {
    background: #3498db;
}

.xml-actions .action-btn.secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.xml-actions .action-btn.secondary:hover {
    background: white;
    color: #2c3e50;
}

/* Site Statistics */
.site-stats {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.site-stats h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* SEO Information */
.seo-info {
    margin: 3rem 0 2rem;
}

.seo-info h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-card p {
    color: #555;
    line-height: 1.6;
}

.privacy-footer .sitemap-notice {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sitemap-actions,
    .xml-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .page-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .visit-btn {
        align-self: flex-end;
    }
    
    .page-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sitemap-section h2 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .priority-badge {
        align-self: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .sitemap-actions,
    .xml-actions,
    .visit-btn,
    .action-btn,
    .update-badge {
        display: none;
    }
    
    .page-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
    
    .xml-container {
        break-inside: avoid;
        background: #f8f9fa;
        color: #000;
    }
    
    .xml-code {
        color: #000;
    }
}