/* Style the tab */
.tab {
  overflow: hidden;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  display: flex;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 0;
  transition: 0.3s;
  font-size: small;
  position: relative;
  font-weight: bold;
  width: calc(100% / 2);
  color: var(--primary-color-300);
}

/* Change background color of buttons on hover */
.tab button:hover::after,
.tab button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color-300);
}

/* Remove background color on hover */
.tab button:hover {
  background-color: inherit;
}

/* Remove background color for active button */
.tab button.active {
  background-color: inherit;
  font-weight: bolder;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 20px 0;
  border-top: none;
}

.tabcontent .card-panduan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tabcontent .card-panduan h5 {
  color: var(--primary-color-300);
  font-weight: bolder;
}

.tabcontent .card-panduan a {
  width: 15%;
}
