/* === Refined Large Round Tab Bar – Canva === */

.AL_Custom_TabBar {
  display: flex !important;
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;   /* center tabs in bar */

  border: 0;
  padding: 8px 12px !important;         /* increase overall bar height */
  margin: -20px auto 0 auto !important; /* center bar under header */

  width: auto !important;
  max-width: max-content !important;

  z-index: 100 !important;
  background: #fff;                     /* white pill background */
  border-radius: 100px !important;
  box-shadow: 0px 0px 0px 1px rgba(64,87,109,.04),
              0px 6px 20px -4px rgba(64,87,109,.15);

  text-align: center !important;
  white-space: nowrap !important;
}

.AL_Custom_TabBar nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 6px !important;
}

/* Inactive tab */
.AL_Custom_TabBarTab {
  margin: 0 10px !important;
  padding: 10px 20px !important;        /* taller tabs */
  border: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #1f1f1f !important;
  font-weight: 600 !important;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

/* Anchor consistency */
a.AL_Custom_TabBarTab {
  padding-left: 20px !important;
  padding-right: 20px !important;
  text-decoration: none !important;
}

/* Hover state (inactive tabs) */
a.AL_Custom_TabBarTab:hover {
  background-color: #f5f5f5 !important;
  color: #111 !important;
}

/* Active tab */
.AL_Custom_TabBarTab.active {
  color: #fff !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #00C6FF 0%, #7F00FF 100%) !important; /* Canva style gradient */
  box-shadow: 0 6px 12px -6px rgba(64,87,109,.25);
}

/* Keep gradient on hover */
.AL_Custom_TabBarTab.active:hover {
  background: linear-gradient(90deg, #00C6FF 0%, #7F00FF 100%) !important;
  color: #fff !important;
}

.AL_Custom_SingleCard--resource .AL_Custom_CardFooter { visibility: hidden; }