/* Sitecore Content Comparison Report Stylesheet */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #343a40;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
}

.summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.summary h3 {
    margin-top: 0;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
}

th, td {
    border: 1px solid #dee2e6;
    padding: 12px 8px;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 10;
}

.matched {
    background-color: #d4edda;
}

.legacy-only {
    background-color: #fff3cd;
}

.new-only {
    background-color: #d1ecf1;
}

.not-found {
    color: #6c757d;
    font-style: italic;
}

a {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
}

a:hover {
    text-decoration: underline;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    min-width: 80px;
}

.status-matched {
    background-color: #28a745;
    color: white;
}

.status-legacy {
    background-color: #ffc107;
    color: #212529;
}

.status-new {
    background-color: #17a2b8;
    color: white;
}

.path-cell {
    max-width: 300px;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 0.85em;
}

.guid-cell {
    font-family: monospace;
    font-size: 0.8em;
    color: #6c757d;
    max-width: 250px;
    word-break: break-all;
}

.report-details {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.report-details h3 {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    table {
        font-size: 12px;
    }
    
    th, td {
        padding: 8px 4px;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 5px;
        padding: 10px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .summary {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5em;
    }
    
    table {
        font-size: 11px;
    }
    
    th, td {
        padding: 6px 3px;
    }
    
    .path-cell, .guid-cell {
        max-width: 150px;
        font-size: 0.75em;
    }
}