/* 设置页面样式文件 */
/* 包含设置页面特有的样式 */

/* 设置容器 */
.settings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 100px; /* 为底部导航栏留出空间 */
}

/* 顶部导航栏 */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background: rgba(40, 40, 60, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-center {
  text-align: center;
}

.header-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff; /* 纯白色粗体 */
  margin: 0;
}

.header-placeholder {
  width: 32px; /* 与返回按钮宽度相同，用于平衡布局 */
}

/* 信息项 */
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 16px;
  color: #aaaaaa;
  font-weight: 500;
}

.info-value {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

/* 操作按钮 */
.actions {
  padding: 10px 0;
}

/* 模态框 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.modal-message {
  margin-bottom: 25px;
  color: #555;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .settings-container {
    padding: 15px;
    padding-bottom: 100px; /* 为底部导航栏留出空间 */
  }
  
  .header {
    flex-direction: row;
    gap: 15px;
  }
  
  .header-title {
    font-size: 18px;
    position: static;
    transform: none;
    left: auto;
  }
  
  .header-placeholder {
    width: 24px; /* 与返回按钮宽度相同，用于平衡布局 */
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .info-label {
    font-size: 14px;
  }
  
  .info-value {
    font-size: 14px;
    text-align: left;
    max-width: 100%;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .modal-actions {
    flex-direction: row;
  }
  
  .modal-actions .btn {
    width: auto;
  }
}