.version-control {
    position: fixed;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 400px;
    max-width: 90vw;
    z-index: 1000;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.version-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0 5px;
}

.close-btn:hover {
    color: #333;
}

.version-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 6px;
}

.version-list li {
    padding: 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.version-list li:last-child {
    border-bottom: none;
}

.version-list li.active {
    background: #f0f7ff;
}

.version-list li:hover {
    background: #f8f9fa;
}

.version-time {
    font-size: 13px;
    color: #666;
}

.version-list button {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.version-list button:hover {
    background: #0056b3;
}

.version-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.version-controls button {
    flex: 1;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.version-controls button:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

/* 히스토리 버튼 스타일 */
#historyBtn {
    position: relative;
}

#historyBtn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: background-color 0.2s;
}

#historyBtn:hover::after {
    background: #007bff;
} 