
/* Style the tab */
.tab {
  /*background-color: #f1f1f1;
  border: 1px solid #ccc;*/
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  /*float: left;*/
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 10px;
  transition: 0.3s;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-family);
  color: var(--color-text);
}

/* Change background color of buttons on hover */
.tab button:hover {
 /* background-color: #ddd;*/
 color: var(--light-hover);
}

/* Create an active/current tablink class */
.tab button.active {
  /*background-color: #ccc;*/
  color: red;

}

/* Style the tab content - Hiệu ứng fade
.tabcontent {
  padding: 6px 12px;
  border-top: 1px solid #ccc;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s ease;
  width: 100%;

}
.tabcontent.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
*/
/* Hiệu ứng slide 
.tabcontent {
  padding: 6px 12px;
  border-top: 1px solid #ccc;
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
}

.tabcontent.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  position: relative;
}
*/
/* Hiệu ứng Zoom nhẹ kết hợp Fade*/
.tabcontent {
  padding: 10px 0;
  display: none;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  width: 100%;
}

.tabcontent.active {
  display: block;
  opacity: 1;
  transform: scale(1);
  position: relative;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}