/* ========== Common Styles ========== */
.cb-tabs-wrap {
  width: 100%;
  margin-bottom: 2em;
  font-family: sans-serif;
}

/* Header styling */
.cb-tab-header {
  background: #fff;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;overflow:hidden;
}

.cb-tab-header a {
  text-decoration: none;
  color: var(--fl-global-body-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
	background-image:none !important;
	transition:all .3s ease-in-out !important;
}

.cb-tab-header a:hover {
  background: var(--fl-global-red);color:#fff;
	transition:all .3s ease-in-out !important;
}
/* Active tab/accordion header styling and disable clicks */
.cb-tab-header.active {
  background: var(--fl-global-red);
  cursor: default;
  pointer-events: none;
}
.cb-tab-header.active a {color:#fff;}

/* Icon styles */
.cb-tab-icon {
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.cb-toggle-icon {
  font-size: 16px;
  margin-left: 10px;
  color: #888;
  flex-shrink: 0;
}

/* Content styling */
.cb-tab-content {
  /* No display:none here, JS controls visibility */
  background: #fff;
	padding:40px;
}

/* ========== Tabs Layout (Desktop ≥769px) ========== */
@media screen and (min-width: 769px) {
  .cb-tab-headers {
    display: flex;
	         margin: 0 auto 40px;
        padding: 10px;
        background: #fff;
        border-radius: 6px;
        gap: 10px;
        width: fit-content;
  }

  .cb-tab-header {
  background: #fff;
  border-radius:6px;
    flex: 1 1 auto;
    text-align: center;
  }

 

  .cb-tab-contents {
    
  border: 1px solid #C0B9B9;
	  background:#fff;
	  box-shadow:0 4px 8px rgba(0,0,0,.1);
  }

  .cb-tab-accordion {
    display: none; /* hide accordion container */
  }
}

/* ========== Accordion Layout (Mobile ≤768px) ========== */
@media screen and (max-width: 768px) {
  .cb-tab-headers,
  .cb-tab-contents {
    display: none; /* hide tab layout containers */
  }

  .cb-tab-accordion .cb-tab-header a{
    border-bottom: none;
	  background:var(--fl-global-body-text);
	  color:#fff;
	  border:1px solid #fff;
  }
	.cb-tab-accordion .cb-tab-header.active a, .cb-tab-accordion .cb-tab-header a:hover {background:var(--fl-global-red);color:#fff;}

  .cb-tab-accordion .cb-tab-content {
    border-top: none;
  }

  .cb-tab-accordion .cb-tab-content {
    /* JS controls visibility */
  }
}
