/* c-tab */

.c-tab {
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
  }
  
  .c-tab_list {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: stretch;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    justify-content: space-between;
  }
  
  .c-tab_item {
    position: relative; /* Needed for proper stacking and border visuals */
    z-index: 1; /* Stack tabs appropriately */
    border-right: 1px solid #ffffff; /* Subtle separation between tabs */
    width: 100%;
    /*white-space: nowrap;*/
  }
  
  .c-tab_label {
    min-height: 40px;
    height: 100%;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    box-sizing: border-box;
    text-align: center;
    padding: 2px 5px;
    background-color: #96c9fd;
    color: #10137d;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    margin-top: 2px;
    margin-bottom: 1px; /* Slightly raised tab effect */
    /*box-shadow: 0 -1px 1px rgba(0,0,0,0.1), 0 1px 1px rgba(255,255,255,0.7);  */
    border-top: 5px solid #ffffff;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .c-tab_label.active {
    background-color: #10137d;
    color: #ffffff;
    border-top: 5px solid #10137d;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  
  .c-tab_label.active:hover {
    background-color: #060861;
  }
  
  .c-tab_label:hover {
    background-color: #70b6fc; /* Slightly darker on hover */
  }
  
  .c-tab_item:first-child > .c-tab_label {
    /*border-left: 1px solid #dcdcdc; */ /* Border for the first tab */
  }
  
  .c-tab_item:last-child > .c-tab_label {
    /*border-right: 1px solid #dcdcdc;*/ /* Ensure right border on the last tab */
  }
  
  @media (max-width: 868px) {
    .c-tab {
      position: relative;
    }
    .c-tab_list {
      flex-direction: column;
    }
    .c-tab_item {
      width: 100%; /* Full width tabs on mobile */
      border-right: none; /* Remove right border in stacked view */
    }
    .c-tab_label {
      border-radius: 8px; /* Full radius on mobile for a cleaner look */
      border-top: 2px solid #ffffff;
    }
    .c-tab_label.active {
      border-top: 2px solid #ffffff;
    }
  }
  /*end c-tab */


.c-tab.sticky_tabs {
    transition: all 0.5s ease;
    position: fixed;
    top: 130px;
    z-index: 20;
    background-color: #ffffff;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 100%);
    width: 100%;
    padding: 0 0 1.5rem 0;
  }
  .admin-bar .c-tab.sticky_tabs {
    top: 162px;
  }
  .sticky_tabs .c-tab_item {
    border-right: 1px solid transparent;
  }
  .sticky_tabs .c-tab_label {
    top: 5px;
    /*position: relative;*/
    border-top: 0px solid #ffffff;
  }
  .sticky_tabs .c-tab_label.active {
    /*top: 0px;*/
  }
  .sticky_tabs .c-tab_list {
    background-color: transparent;
    border-bottom: 2px solid #96c9fd;
  }