/* Sitemap Validator - AntiSpywares.net palette */
.smv-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.smv-title {
    color: #233D78;
    font-size: 28px;
    margin-bottom: 5px;
    border-bottom: 3px solid #5B98BA;
    padding-bottom: 10px;
}

.smv-desc {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

.smv-input-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.smv-url-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}
.smv-url-input:focus {
    border-color: #5B98BA;
    outline: none;
}

.smv-btn {
    background: #233D78;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.smv-btn:hover {
    background: #1a2e5c;
}
.smv-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.smv-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #233D78;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#smv-progress {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    color: #233D78;
    font-weight: 500;
}

/* Report styles */
.smv-report {
    margin-top: 25px;
}

.smv-report-header h3 {
    color: #233D78;
    font-size: 22px;
    margin-bottom: 15px;
    word-break: break-all;
}

.smv-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.smv-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    border-left: 5px solid #5B98BA;
}
.smv-card-total { border-left-color: #233D78; }
.smv-card-valid { border-left-color: #28a745; }
.smv-card-broken { border-left-color: #FF6B6B; }
.smv-card-warnings { border-left-color: #ffc107; }

.smv-card-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #233D78;
}
.smv-card-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.smv-section {
    margin-top: 25px;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
}
.smv-section h4 {
    margin-top: 0;
    color: #233D78;
    border-bottom: 2px solid #5B98BA;
    padding-bottom: 8px;
}
.smv-errors { border-left: 4px solid #FF6B6B; }
.smv-warnings { border-left: 4px solid #ffc107; }
.smv-url-table { border-left: 4px solid #5B98BA; }

.smv-error-list, .smv-warning-list {
    padding-left: 20px;
}
.smv-error-list li, .smv-warning-list li {
    margin-bottom: 5px;
    word-break: break-word;
}
.smv-error-list li { color: #d63031; }
.smv-warning-list li { color: #b7950b; }

.smv-table-responsive {
    overflow-x: auto;
}
.smv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.smv-table th {
    background: #233D78;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
}
.smv-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}
.smv-table tr:nth-child(even) {
    background: #f2f2f2;
}
.smv-table a {
    color: #233D78;
    text-decoration: none;
}
.smv-table a:hover {
    text-decoration: underline;
}
.smv-table td:last-child {
    text-align: center;
}

@media (max-width: 600px) {
    .smv-summary-cards {
        grid-template-columns: 1fr 1fr;
    }
    .smv-input-area {
        flex-direction: column;
    }
    .smv-btn {
        width: 100%;
    }
}