/* APP配置管理页面样式 */
.app-config-page {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.app-config-page .page-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary, #4f46e5);
  margin-bottom: 6px;
}
.app-config-page .page-desc {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}
.app-config-page .config-section {
  background: #fff;
  border-radius: var(--radius-md, 12px);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.06));
  overflow: hidden;
}
.app-config-page .section-header {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-config-page .section-header .device-count {
  font-size: 12px;
  color: #999;
  font-weight: normal;
}
.app-config-page .section-body {
  padding: 20px;
}
.app-config-page .config-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.app-config-page .config-item:last-child {
  margin-bottom: 0;
}
.app-config-page .config-label {
  width: 120px;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}
.app-config-page .config-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: var(--radius-sm, 8px);
  font-size: 14px;
  color: #1a1a2e;
  transition: border-color 0.2s;
}
.app-config-page .config-input:focus {
  outline: none;
  border-color: var(--primary, #4f46e5);
}
.app-config-page .icon-upload-area {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.app-config-page .icon-preview {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md, 12px);
  border: 2px dashed #dcdfe6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.app-config-page .icon-preview:hover {
  border-color: var(--primary, #4f46e5);
}
.app-config-page .icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-config-page .icon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #c0c4cc;
}
.app-config-page .icon-placeholder svg {
  width: 32px;
  height: 32px;
}
.app-config-page .icon-placeholder span {
  font-size: 12px;
}
.app-config-page .icon-tips {
  padding-top: 4px;
}
.app-config-page .icon-tips p {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}
.app-config-page .icon-tips ul {
  list-style: none;
  padding: 0;
}
.app-config-page .icon-tips li {
  font-size: 12px;
  color: #999;
  line-height: 1.8;
  padding-left: 12px;
  position: relative;
}
.app-config-page .icon-tips li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #c0c4cc;
}
.app-config-page .device-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.app-config-page .device-table th {
  padding: 10px 8px;
  text-align: left;
  color: #999;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.app-config-page .device-table td {
  padding: 10px 8px;
  color: #1a1a2e;
  border-bottom: 1px solid #f5f5f5;
}
.app-config-page .device-table tr:last-child td {
  border-bottom: none;
}
.app-config-page .empty-tip {
  text-align: center;
  color: #c0c4cc;
  font-size: 13px;
  padding: 20px 0;
}
.app-config-page .config-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-bottom: 20px;
}
/* APP安装包状态 */
.app-config-page .build-status-row {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.app-config-page .build-status-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}
.app-config-page .build-status-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}
.app-config-page .build-status-value {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-config-page .download-link {
  font-size: 12px;
  color: var(--primary, #4f46e5);
  text-decoration: none;
  margin-top: 4px;
}
.app-config-page .download-link:hover {
  text-decoration: underline;
}
.app-config-page .build-tip {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}
.app-config-page .build-guide {
  background: #f5f7fa;
  border-radius: var(--radius-sm, 8px);
  padding: 16px;
}
.app-config-page .build-guide-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.app-config-page .build-guide-content p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}
.app-config-page .build-guide-content code {
  background: #e8eaed;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: #d63384;
}
.app-config-page .build-guide-content a {
  color: var(--primary, #4f46e5);
  text-decoration: none;
}
.app-config-page .build-guide-content a:hover {
  text-decoration: underline;
}
