@use '../styles/variables' as *;

.settings-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  
  h2 {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .settings-card {
    margin-bottom: 24px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    
    .ant-card-head {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      
      .ant-card-head-title {
        color: rgba(255, 255, 255, 0.85);
      }
    }
    
    .ant-form-item-label > label {
      color: rgba(255, 255, 255, 0.85);
    }
    
    p {
      color: rgba(255, 255, 255, 0.65);
      margin-bottom: 8px;
    }
  }
  
  .setting-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
  }
  
  // 服务器列表样式
  .server-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    
    h5 {
      margin: 0;
    }
  }
  
  .server-list {
    .ant-list-item {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 16px 0;
      
      &:last-child {
        border-bottom: none;
      }
    }
    
    .ant-list-item-meta-title {
      display: flex;
      align-items: center;
      
      .current-server-badge {
        font-size: 12px;
        background-color: #1890ff;
        color: white;
        border-radius: 4px;
        padding: 2px 8px;
        margin-left: 12px;
      }
    }
    
    .server-details {
      color: rgba(255, 255, 255, 0.65);
      
      div {
        margin-bottom: 4px;
      }
    }
  }
  
  .empty-server-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 16px;
  }
  
  // 模态框样式
  .ant-modal-content {
    border-radius: 8px;
  }
} 