.packages-section {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-header {
  flex: 0 0 auto;
  margin-bottom: 20px;
}

.packages-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  position: relative;
}

/* 上传对话框样式 */
.upload-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.dialog-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dialog-content h3 {
  margin-bottom: 20px;
  color: #333;
}

.upload-form .form-group {
  margin-bottom: 20px;
}

.upload-form label {
  display: block;
  margin-bottom: 8px;
  color: #666;
}

.upload-form input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px dashed #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.upload-form input[type="text"],
.upload-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.upload-form input[type="text"]:focus,
.upload-form select:focus {
  outline: none;
  border-color: #2196F3;
}

.dialog-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.cancel-btn {
  padding: 8px 16px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cancel-btn:hover {
  background-color: #e0e0e0;
}

/* 状态样式 */
.status-success {
  color: #4CAF50;
}

.status-error {
  color: #f44336;
}

.status-processing {
  color: #2196F3;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .dialog-content {
    margin: 20px;
    padding: 20px;
  }
} 