* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f5f5;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
    width: 240px;
    background-color: #f0f0f0;
    padding: 20px 0;
    border-right: 1px solid #e0e0e0;
}

.sidebar-item {
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    color: #333;
    font-size: 14px;
}

.sidebar-item:hover {
    background-color: #e8e8e8;
}

.sidebar-item.selected {
    background-color: #e6f7ff;
    color: #1890ff;
    border-left: 3px solid #1890ff;
}

.badge {
    display: inline-block;
    background-color: #1890ff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    margin-left: 5px;
}

.editable {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

/* 主内容区域样式 */
.main-content {
    flex: 1;
    padding: 20px;
}

.content-area {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.product-display {
    margin-bottom: 20px;
}

.product-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

/* 表单样式 */
.translation-form {
    padding: 20px 0;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-group label {
    width: 150px;
    text-align: right;
    margin-right: 10px;
    font-size: 14px;
    color: #333;
}

.required {
    color: #f5222d;
    margin-right: 4px;
}

.dropdown {
    position: relative;
    display: inline-block;
    min-width: 200px;
    height: 36px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 12px;
    line-height: 36px;
    cursor: pointer;
}

.dropdown-text {
    flex: 1;
}

.dropdown-arrow {
    position: absolute;
    right: 12px;
    font-size: 12px;
    color: #999;
}

.upload-area {
    display: flex;
    gap: 10px;
}

.upload-box {
    width: 200px;
    height: 200px;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload-icon {
    font-size: 30px;
    color: #bfbfbf;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.btn-reset, .btn-submit {
    padding: 0 20px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: none;
}

.btn-reset {
    background-color: #f2f2f2;
    color: #666;
}

.btn-submit {
    background-color: #f5a623;
    color: white;
}

.btn-reset:hover {
    background-color: #e6e6e6;
}

.btn-submit:hover {
    background-color: #e09612;
} 