body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}
.container {
    width: 90%;
    max-width: 800px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px;
}
.header {
    text-align: center;
    margin-bottom: 30px;
}
.header h1 {
    color: #2196F3;
    margin-bottom: 10px;
}
.timeline-container {
    position: relative;
    margin: 60px 0 40px 0;
}
.timeline-track {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
}
.timeline-segment {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    top: 0;
}
.timeline-segment.first {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    left: 0;
}
.timeline-points {
    display: flex;
    position: relative;
    margin-top: -14px;
}
.point {
    width: 20px;
    height: 20px;
    background-color: #2196F3;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: absolute;
    transform: translateX(-50%);
}
.point.current {
    background-color: #FF5722;
    animation: pulse 1.5s infinite;
}
.timeline-labels-top {
    position: relative;
    margin-bottom: 30px;
    min-height: 40px;
}
.timeline-labels-bottom {
    position: relative;
    margin-top: 20px;
    min-height: 40px;
}
.label-top {
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    bottom: 0;
    font-weight: bold;
    font-size: 16px;
}
.label-bottom {
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    top: 0;
    color: #555;
}
.details {
    margin-top: 40px;
}
.detail-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #2196F3;
}
.detail-item h3 {
    margin-bottom: 10px;
}
.detail-item p {
    color: #666;
    line-height: 1.6;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}
.footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
    font-size: 14px;
}
.controls {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
.control-group {
    margin-bottom: 15px;
}
.control-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.control-group input, .control-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.date-inputs {
    display: flex;
    gap: 10px;
}
.date-inputs .date-group {
    flex: 1;
}
.control-group input[type="color"] {
    height: 40px;
}
.btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}
.btn:hover {
    background-color: #0b7dda;
}
.btn-danger {
    background-color: #f44336;
}
.btn-danger:hover {
    background-color: #d32f2f;
}
.btn-success {
    background-color: #4CAF50;
}
.btn-success:hover {
    background-color: #45a049;
}
.timeline-items {
    margin-top: 20px;
}
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 4px;
}
.timeline-item-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}
.timeline-item-info {
    flex-grow: 1;
}
.timeline-item-actions {
    display: flex;
}
.timeline-item-actions button {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    margin-left: 10px;
    font-size: 16px;
}
.timeline-item-actions button:hover {
    color: #000;
}
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    .control-group {
        margin-bottom: 10px;
    }
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    .date-inputs {
        flex-direction: column;
        gap: 5px;
    }
}
.date-precision {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #555;
}
.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
} 