@charset "UTF-8";

/* input {
  position: absolute;
  opacity: 0;
  z-index: -1;
} */

.rowTab {
  display: flex;
}
.rowTab .col {
  flex: 1;
}
.rowTab .d-flex {
  display: flex;
}
.rowTab .col:last-child {
  /* margin-left: 1em; */
}

/* .grid-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: auto;
} */
/* .grid-container .tabs {
  display: grid;
} */

/* Accordion styles */
.tabs {
  /* border-radius: 8px; */
  overflow: hidden;
  /* box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5); */
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: #2c3e50;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.7rem;
  /* Icon */
}
.tab-label:hover {
  background: #1a252f;
}
.tab-label::after {
  content: '❯';
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  transition: all 0.35s;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}
.tab-close:hover {
  background: #1a252f;
}

input:checked + .tab-label {
  background: #1a252f;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
}
@media (max-width: 1200px) {
  .rowTab .d-flex {
    flex-direction: column;
  }
}
