.container {
  width: 100%;
}

.pageTitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 $spacing-xl 0;
}

.content {
  display: flex;
  flex-direction: column;
  gap: $spacing-xl;
}

.section {
  display: flex;
  flex-direction: column;
  gap: $spacing-md;
}

.sectionTitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 $spacing-md 0;
}

.sectionDescription {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 $spacing-md 0;
}

.clearLoginActions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.infoGrid {
  display: grid;
  gap: $spacing-sm;

  .infoRow {
    display: flex;
    justify-content: space-between;
    padding: $spacing-sm $spacing-md;
    background-color: var(--bg-secondary);
    border-radius: $radius-md;

    .label {
      font-weight: 500;
      color: var(--text-secondary);
    }

    .value {
      color: var(--text-primary);
      font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    }
  }
}

.modelsList {
  display: flex;
  flex-direction: column;
  gap: $spacing-sm;
  max-height: 400px;
  overflow-y: auto;
}

.modelItem {
  padding: $spacing-sm $spacing-md;
  background-color: var(--bg-secondary);
  border-radius: $radius-md;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 13px;

  &:hover {
    background-color: var(--bg-hover);
  }
}

.modelTags {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
  gap: $spacing-sm;
}

.modelTag {
  display: inline-flex;
  align-items: center;
  gap: $spacing-xs;
  padding: 4px 10px;
  border-radius: $radius-full;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.modelName {
  color: var(--text-primary);
  font-weight: 600;
}

.modelAlias {
  color: var(--text-secondary);
  font-size: 12px;
}

.versionCheck {
  display: flex;
  flex-direction: column;
  gap: $spacing-md;
}

.versionInfo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: $spacing-md;

  .versionItem {
    padding: $spacing-md;
    background-color: var(--bg-secondary);
    border-radius: $radius-md;

    .label {
      font-size: 12px;
      color: var(--text-secondary);
      margin-bottom: $spacing-xs;
    }

    .version {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-primary);
      font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    }
  }
}

.quickLinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: $spacing-md;
}

.linkCard {
  display: flex;
  align-items: center;
  gap: $spacing-md;
  padding: $spacing-md $spacing-lg;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: $radius-lg;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;

  &:hover {
    background-color: var(--bg-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  &:active {
    transform: translateY(0);
  }
}

.linkIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: $radius-md;
  background-color: var(--primary-color);
  color: white;
  flex-shrink: 0;

  &.github {
    background-color: #24292f;
  }

  &.docs {
    background-color: #10b981;
  }
}

.linkContent {
  flex: 1;
  min-width: 0;
}

.linkTitle {
  display: flex;
  align-items: center;
  gap: $spacing-xs;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;

  svg {
    opacity: 0.5;
    flex-shrink: 0;
  }
}

.linkDesc {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
