/**
 * @file
 * cyask:tabs SDC Component Styles.
 */

.cy-tabs {
  margin-bottom: var(--cy-gap-md);
}

.cy-tabs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #e9ecef;
}

.cy-tabs__item {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;

  a,
  .cy-tabs__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;

    &:hover {
      color: #0066cc;
      background-color: rgba(0, 102, 204, 0.04);
    }

    &.is-active,
    &.active {
      color: #0066cc;
      font-weight: 600;
      border-bottom-color: #0066cc;
      background-color: #fff;
    }
  }

  &.is-active a,
  &.active a {
    color: #0066cc;
    font-weight: 600;
    border-bottom-color: #0066cc;
    background-color: #fff;
  }
}
