.redirect-flow {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
}
.redirect-step {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #4a6ee0;
    position: relative;
}
.redirect-step:not(:last-child):after {
    content: '↓';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #4a6ee0;
}
.redirect-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 15px;
    font-weight: bold;
}
.history-timeline {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 25px 0;
}
.history-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}
.history-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}
.history-item.final {
    border-left-color: #28a745;
}
.history-item.redirect {
    border-left-color: #ffc107;
}
.history-item.initial {
    border-left-color: #007bff;
}
.history-status {
    width: 80px;
    text-align: center;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 20px;
}
.status-200 {
    background-color: #d4edda;
    color: #155724;
}
.status-301 {
    background-color: #fff3cd;
    color: #856404;
}
.status-302 {
    background-color: #ffeaa7;
    color: #5d4a00;
}
.redirect-table {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 25px 0;
}
.redirect-table th {
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    border: none;
}
.redirect-table tr:hover {
    background-color: #f8f9fa;
}
.redirect-demo {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    margin: 20px 0;
    position: relative;
    min-height: 250px;
    overflow: hidden;
}
.demo-line {
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s forwards;
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.demo-request {
    background-color: rgba(0, 123, 255, 0.1);
    border-left: 3px solid #007bff;
}
.demo-redirect {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
}
.demo-response {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 3px solid #28a745;
}
.demo-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 3px solid #dc3545;
}
.redirect-controls {
    background-color: #e8f4fd;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #4a6ee0;
}
.control-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #c3d9f5;
}
.control-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.control-label {
    font-weight: bold;
    color: #2c5282;
    margin-bottom: 5px;
}
.control-value {
    font-family: 'Consolas', monospace;
    background-color: white;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #c3d9f5;
}
.comparison-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.comparison-card:hover {
    transform: translateY(-5px);
}
.comparison-card .card-header {
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    padding: 20px;
    font-weight: bold;
    border-bottom: none;
}
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.use-case-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.use-case-item:hover {
    transform: translateY(-5px);
}
.use-case-item .icon {
    font-size: 2.5rem;
    color: #4a6ee0;
    margin-bottom: 15px;
}
.warning-box {
    background-color: #fff8e1;
    border-left: 5px solid #ffb300;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.info-box {
    background-color: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.redirect-diagram {
    text-align: center;
    margin: 40px 0;
}
.diagram-node {
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin: 0 10px;
    font-weight: bold;
    position: relative;
}
.diagram-arrow {
    display: inline-block;
    font-size: 24px;
    color: #4a6ee0;
    margin: 0 5px;
    vertical-align: middle;
}
.redirect-scenario {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 2px dashed #dee2e6;
}
