.version-timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}
.version-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
}
.version-milestone {
    position: relative;
    margin-bottom: 40px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    border-left: 5px solid;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.version-milestone::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
}
.version-1x { border-left-color: #e74c3c; }
.version-1x::before { background: #e74c3c; }
.version-2x { border-left-color: #f39c12; }
.version-2x::before { background: #f39c12; }
.version-3x { border-left-color: #2ecc71; }
.version-3x::before { background: #2ecc71; }
.version-migration {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.migration-path {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}
.migration-step {
    background: white;
    border: 2px solid #6c757d;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-width: 150px;
    margin: 10px;
    position: relative;
}
.migration-step::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #6c757d;
}
.migration-step:last-child::after {
    display: none;
}
.migration-step.current { border-color: #007bff; background: #e3f2fd; }
.migration-step.recommended { border-color: #28a745; background: #d4edda; }
.migration-step.deprecated { border-color: #dc3545; background: #f8d7da; }
.deprecation-list {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
}
.deprecation-item {
    padding: 10px;
    margin: 5px 0;
    border-left: 4px solid #f39c12;
    background: white;
}
.compatibility-check {
    background: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.check-result {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    display: none;
}
.check-success { background: #d4edda; border: 1px solid #c3e6cb; }
.check-warning { background: #fff3cd; border: 1px solid #ffeaa7; }
.check-error { background: #f8d7da; border: 1px solid #f5c6cb; }
.api-table th, .api-table td {
    vertical-align: middle;
}
.version-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 3px;
}
.badge-1x { background: #e74c3c; color: white; }
.badge-2x { background: #f39c12; color: white; }
.badge-3x { background: #2ecc71; color: white; }
.badge-removed { background: #dc3545; color: white; }
.badge-deprecated { background: #ffc107; color: #212529; }
.badge-changed { background: #17a2b8; color: white; }
.migration-tool {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.breaking-change {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 15px 0;
}
.code-migration {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}
.code-header {
    background: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.code-comparison {
    display: flex;
}
.code-old, .code-new {
    flex: 1;
    overflow: auto;
}
.code-old { border-right: 1px solid #ddd; }
.code-old .code-header { background: #f8d7da; }
.code-new .code-header { background: #d4edda; }
.testing-checklist {
    background: white;
    border: 2px solid #6c757d;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.checklist-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.checklist-item:last-child {
    border-bottom: none;
}
.browser-support {
    overflow-x: auto;
}
