/* Styles pour l'interface de vérification des redirections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.form-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.results-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.site-card {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px;
}

.site-card:last-child {
    border-bottom: none;
}

.site-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 12px;
}

.site-name {
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
}

.site-url {
    color: #6b7280;
    font-size: 14px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-ok {
    background-color: #d1fae5;
    color: #065f46;
}

.status-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.redirections-list {
    margin-top: 12px;
}

.redirection-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    background-color: #f9fafb;
    border-radius: 4px;
}

.redirection-step {
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

.redirection-url {
    flex-grow: 1;
    font-family: monospace;
    font-size: 14px;
    color: #374151;
}

.http-status {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.status-200 { background-color: #d1fae5; color: #065f46; }
.status-301, .status-302 { background-color: #fef3c7; color: #92400e; }
.status-4xx, .status-5xx { background-color: #fee2e2; color: #991b1b; }

.redirect-chain {
    background-color: #f3f4f6;
    border-left: 4px solid #6b7280;
    padding: 12px;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
}

.redirect-chain-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.final-arrow {
    color: #059669;
    font-weight: bold;
    margin: 0 8px;
}

.error-message {
    color: #dc2626;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px;
    background-color: #fef2f2;
    border-radius: 4px;
    border-left: 4px solid #dc2626;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 16px 0;
}

.progress-fill {
    height: 100%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.filters {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-button {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-button:hover {
    background-color: #f3f4f6;
}

.filter-button.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.hidden {
    display: none !important;
}
