/* ============================================
   存储设置 (Storage Settings) 样式
   依赖: style.css
   ============================================ */

.storage-page {
  padding: 0;
}

/* ====== Tab ====== */
.storage-tabs {
  display: flex;
  gap: 0;
  padding: 12px 24px 0;
  border-bottom: 1px solid #f0f0f0;
}
.storage-tab {
  padding: 10px 24px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  user-select: none;
}
.storage-tab:hover { color: #c49a6c; }
.storage-tab.active {
  color: #c49a6c;
  border-bottom-color: #c49a6c;
  font-weight: 600;
}

/* ====== 通用区块 ====== */
.storage-section {
  padding: 20px 24px;
}
.storage-section + .storage-section {
  border-top: 1px solid #f0f0f0;
}
.storage-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
}

/* 存储类型单选框 */
.storage-type-radios {
  display: flex;
  gap: 24px;
}
.storage-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  user-select: none;
}
.storage-radio input[type="radio"] {
  accent-color: #c49a6c;
}

/* ====== 表单 ====== */
.storage-form {
  max-width: 680px;
}
.storage-field {
  margin-bottom: 20px;
}
.storage-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.storage-required {
  color: #ef4444;
  margin-right: 2px;
}
.storage-input-row {
  display: flex;
  gap: 10px;
}
.storage-input {
  width: 100%;
  max-width: 480px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.storage-input:focus { border-color: #c49a6c; }
.storage-readonly {
  background: #f5f5f5;
  color: #888;
  cursor: not-allowed;
}
.storage-hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  line-height: 1.6;
}

/* ====== 操作按钮 ====== */
.storage-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}
