.banner-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(to bottom, #00868d2c, #043a41f3), url("/assets/banner_benchmarking.png");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  text-align: start;
  padding: 6rem 4rem 0 10rem;
}

    .banner-overlay.informasi {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }


.title-informasi {
      width: 100% !important;
}

.banner-overlay .title{
    width: 30%;
}

    .banner-overlay .title a {
        text-decoration:none;
        color:white;
        font-size:16px;
    }

    .banner-overlay .title .box {
        background: #ffffff52;
        padding: 20px;
        width: auto;
        border-radius:3px;
    }

.banner-overlay .title h2{
    font-size: 40px;
    line-height: 55px;
    font-weight: 600;
    word-spacing: normal;
}

    .banner-overlay .title .mouse {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center !important;
        justify-content: flex-start;
        height: 100%;
        margin-top:40px;
        margin-bottom: 10px;
    }

        .banner-overlay .title .mouse p {
            color: rgb(147, 198, 206);
            font-size: 18px;
            font-weight: 300;
            margin: 0;
        }

        .banner-overlay .title .mouse i {
            font-size: 30px; /* Adjust icon size */
            color: var(--base); /* Set color for the icon */
        }

.banner-overlay .text{
    width: 60%;
    line-height: 40px;
    font-weight: normal;
    margin: 0;
    height: 10rem;
    text-align: justify;
}
.banner-overlay .text p {
    font-size:23px;
}

.content {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
}

.peraturan {
    border: 12px solid rgba(0, 133, 141, 0.15);
    border-radius: 8px;
    width: 40%;
    background: white;
    height: auto;
    transition: height 0.4s ease;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 10;
}

.peraturan .text{
    background-color: white;
    padding: 8px;
}

.peraturan img {
  width: 100%;
  border-radius: 6px;
}

.peraturan .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    cursor: pointer;
    padding-right: 15px;
    padding-left: 15px;
}

.peraturan .title h5 {
  margin: 0;
  font-size: 18px;
  color: #003366;
  font-weight: 300;
  line-height: 30px;
  width: 85%;
}

.peraturan .title i {
  font-size: 35px;
  width: 15%;
  transition: transform 0.3s ease;
}

.peraturan .text p {
    margin-top: 10px;
    font-size: 16px;
    color: var(--hijau);
    line-height: 25px;
    padding-right: 15px;
    padding-left: 15px;
    text-align:justify;
}

.peraturan hr {
    display: none;
}

.peraturan.active p {
  display: block;
}

.peraturan.active hr {
    display: block !important;
}

.benchmarking {
    border: 12px solid transparent;
    border-radius: 8px;
    background: rgba(0, 133, 141, 0.1);
    width: 70%;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.benchmarking .text{
    background-color: white;
    padding: 10px 30px 70px 30px;
    border-radius: 5px;
}

.text .youtube {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom:20px;
}

    .text .youtube h4 {
        color: var(--hijau1);
        font-size: 18px;
        font-weight:bold;
        margin: 0;
        line-height: 1.2;
    }

    .text .youtube a {
        color: #00858d;
        text-decoration: underline;
        font-size: 18px;
        font-weight: 100;
        margin: 0;
        line-height: 1.2;
    }

.pembanding h6, .perusahaan h6{
  font-size: 16px;
  font-weight: 300;
  color: var(--hijau1);
  margin: 0;

}

.klasifikasi{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}

.klasifikasi .pembanding{
    width: 50%;
}
.klasifikasi .perusahaan{
    width: 50%;
}

.form{
    margin-top: 30px;
}

.form-container h4 {
  color: #004d40;
  margin-bottom: 20px;
}

.form-container h4 em {
  font-style: italic;
}

.form-container a {
  color: #00796b;
  text-decoration: underline;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
  width: 90%;
}

.form-group label {
  display: block;
  color: var(--hijau);
  font-size: 14px;
  margin-bottom: 5px;
}

.form-group select {
  width: 100%;
  border: none;
  border-bottom: 2px solid #d3d3d3;
  font-size: 15px;
  padding: 6px 0;
  font-weight: 500;
  background: transparent;
  outline: none;
  color: #464646bd;
  appearance: none;
  cursor: pointer;
}

.form-group i {
  position: absolute;
  right: 3%;             
  top: 50%;             
  transform: translateY(-50%);
  color: #464646bd;
  pointer-events: none; 
  font-size: 10px;
}

.form-group select:has(option[value=""]:checked) {
  color: #464646bd;
}
.form-group select:not(:has(option[value=""]:checked)) {
  color: black;
}

/* .form-group::after {
  content: "▾";
  position: absolute;
  right: 0;
  bottom: 6px;
  color: #777;
  pointer-events: none;
} */

.form-group select:focus {
  border-bottom: 2px solid var(--abu);
}

.form-group.invalid select {
  border-bottom: 2px solid #d32f2f;
}
.form-group.invalid .caret {
  color: #d32f2f;
}

.form-group select:focus + label,
.form-group label.active {
  color: var(--hijau);
  font-weight: 600;
}

/* Form Perusahaan */
.form-groups, .form-groups-hide {
  position: relative;
  margin-bottom: 30px;
  width: 90%;
}

.form-groups input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #d3d3d3;
  font-size: 15px;
  font-weight: 500;
  padding: 1px 0 8px 0;
  background: transparent;
  outline: none;
  appearance: none;
  color: #000000;
  cursor: pointer;
}

.form-groups-hide input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #d3d3d3;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0 8px 0;
  background: rgba(128, 128, 128, 0.089);
  outline: none;
  appearance: none;
  color: black;
  cursor: pointer;
}

.form-groups-hide p{
  color: var(--hijau1);
  font-size: 15px;
  font-weight: 300;
  margin: 5px 0;
}

.form-groups input:focus, .form-groups-hide input:focus {
  border-bottom: 2px solid var(--abu);
}

/* Label aktif / fokus */
.form-groups input:focus + label,
.form-groups label.active,
.form-groups-hide input:focus + label,
.form-groups-hide label.active {
  color: var(--hijau);
  font-weight: 600;
}

.perusahaan .form-groups::after,
.form-groups-hide::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  color: #777;
  pointer-events: none;
}

.perusahaan .form-groups-hide p{
  font-size: 13px;
  color: var(--hijau1);

  margin-top: 13px;
  line-height: 20px;
  text-align: justify;
}

.button{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button button{
  border-radius: 7px;
  padding: 10px 0;
  color: var(--base);
  background-color: var(--hijau);
  border: none;
  font-size: 14px;
  font-weight: 600;
}

.benchmarking .card-result{
    background-color: white;
    padding: 10px 30px 70px 30px;
    border-radius: 5px;
}

.card-result .card{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  gap: 15px;
  border:none;
}

.usaha, .klasifikasiUsaha, .rentang, .metode, .rasio, .tested{
  background-color: transparent;
  padding: 20px 12px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 5px;
  border: rgba(128, 128, 128, 0.377) 1px solid;
  margin: 0; 
}

.klasifikasiUsaha{
  max-width: none;
}

.card h5{
  font-size: 15px;
  font-weight:bold;
  color: var(--hijau);
  margin: 0 0 5px 0;
}

.card p{
  font-size: 10px;

  font-weight: 300;
  color: var(--hijau);
}

/* TABLE */

table {

  border-collapse: collapse;
  width: 100%;
  margin: 30px 5px 5px 5px;
}

td {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 14px;
}

th {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 15px;
  font-weight: 700;
}

tr:nth-child(even){background-color: #f2f2f2;}

/* tr:hover {background-color: #ddd;} */

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: white;
  color: var(--hijau);
}

/* CONFIRM SECTION */
.confirm-section{
  margin: 0 0 0 3px;
}

    .confirm-section .description {
        margin: 0 0 0 3px;
        width: 100%;
        text-align: justify;
        line-height: 0.8;
    }

.confirm-section .description p{
  font-size: 13px;
  color: var(--hijau5);
  font-weight: 500;
  margin-bottom: 10px;
}

.confirm-section .description span{
  font-size: 11px;
  color: var(--hijau5);
  font-weight: 500;
  text-align: justify;
}

.confirm-section .download-confirm{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.confirm-section .download{
  color: var(--hijau5);
  font-size: 11px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0 0;
  width: 65%;
}

/* CHECKBOX */
.confirm-section .download input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--hijau1); 
  margin-right: 8px; 
  vertical-align: middle;
}

.confirm-section .download b{
  color: var(--hijau5);
  font-size: 11px;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

.confirm-section .download {
  display: flex;
  align-items: center;
  gap: 6px;
}

.confirm-section .button button{
  padding: 10px 20px;
  border-radius: 5px;
  background-color: var(--hijau1);
  color: var(--base);
/*  border: black 1px solid;*/
  font-weight: 500;
}

.card-result-hide{
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem 0;
}

.card-result-hide img{
  width: 22rem;
  height: 8rem;
}

.card-result-hide h3{
  font-size: 20px;
}
.card-result-hide p{
  font-size: 15px;
  width: 80%;
  justify-content: center;
  text-align: center;
}

/* REQUEST */
.request{
  background-color: #043a41;
  color: var(--base);
  align-items: center;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  padding: 70px 20px;
}

.request h6{
  font-size: 25px;
  font-weight: 500;
  margin: 0;
}
.request p{
  font-size: 20px;
  font-weight: 300;
  color: #C4DFE4;
  margin: 20px 0 0 0;
}

.request button{
  background-color: #0d6efd;
  border: none;
  padding: 15px 30px;
  color: var(--base);
  margin: 20px 0 0 0;
  border-radius: 5px;
  font-size: 16px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Latar belakang gelap */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    backdrop-filter: blur(2px);
}

.modal-container {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    animation: fadeInUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

    .close-btn:hover {
        background: var(--hijau);
        border: none;
        font-size: 20px;
        cursor: pointer;
        border-radius:10px;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* RESPONSIVE */
/* Tablet landscape / laptop kecil */
@media screen and (max-width: 1024px) {

.banner-overlay {
    position: relative;
    width: 100%;
    height: auto; /* mengikuti isi konten */

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;

    padding: 6rem 4rem;
    color: white;

    background-image: 
        linear-gradient(to bottom, #00868d2c, #043a41f3), 
        url("/assets/banner_benchmarking_new.svg");
    background-size: cover;
    background-position: center;
}


  .banner-overlay .title p {
    font-size: 32px;
    line-height: 45px;
  }

  .banner-overlay .text {
    font-size: 20px;
    line-height: 35px;
    width: 45%;
  }
}

/* Tablet portrait / layar sedang */
@media screen and (max-width: 768px) {

  .banner-overlay {
      position: relative;
      flex-direction: column;
      align-items: flex-start;
      gap: 2rem;
      height: auto !important;
      text-align: start;
      gap: 0;
      width: 100%;
  }

  .banner-overlay .title {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
  }

  .banner-overlay .title h2{
    font-size: 33px;
  }
  .banner-overlay .title .box{
    font-size: 16px;
    line-height: 10px;
    width:auto;
  }

    .banner-overlay .title a {
        text-decoration: none;
        color: white;
        font-size: 16px;
    }

  .banner-overlay .text{
    width: 90%;
    font-size: 18px;
    line-height: 30px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
  }
  .banner-overlay .text p{
    font-size: 14px;
  }
  
  .banner-overlay .title .mouse {
    display: none;
  }

  .benchmark{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    margin: 110px 0 0 0;
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    text-align: start;
    /*padding: 10% 8%;*/
    width: 100%;
  }

    .content .peraturan {
        width: 100%;
        position: relative;
        top: 20px; /* margin atas ketika freeze */
        z-index: 10;
        background: #fff; /* supaya tidak transparan ketika sticky */
        padding-top: 5px;
        /*    max-height: 90vh;*/
    }

  .content .benchmarking{
    width: 100%;
  }
  .content .benchmarking .klasifikasi,
  .card-result .card-result-show .card,
  .card-result .card-result-show .confirm-section .download-confirm{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
  }

  .content .benchmarking .klasifikasi .pembanding, 
  .content .benchmarking .klasifikasi .perusahaan,
  .card-result .card-result-show .confirm-section .download-confirm .download{
    width: 100%;
    text-align: justify;
  }

  .card-result .card-result-show .confirm-section .description{
    width: 90%;
    text-align: justify;
  }
  .card-result .card-result-show .table-result,
  .card-result .card-result-show .table-count{
    overflow-x: auto;
  }
}

.card-result .card-result-show .table-result table {
    border-collapse: collapse;
    border: 1px solid #c8c8c8; 
}

.card-result .card-result-show .table-result table td,
.card-result .card-result-show .table-result table th {
    border: 1px solid #c8c8c8; 
}

.card-result .card-result-show .table-result table tr:hover {
    background-color: none;
}

.summary-table {
  margin: 10px 2px 0 2px;
}
.summary-table table {
  border-collapse: collapse;
  border: 1px solid #c8c8c8; 
}
.summary-table table th,
.summary-table table td {
  border: 1px solid #c8c8c8; 
  padding: 8px;
}
.card-result .card-result-show .table-result table th {
  text-align: center;
}

.card-result .card-result-show .table-result table td.left {
  text-align: left;
}
.card-result .card-result-show .table-result table td.center {
  text-align: center;
}
.card-result .card-result-show .table-result table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.info-tooltip {
  display: inline-block;
  margin-left: 8px;
  color: var(--hijau5);
  font-size: 14px;
  cursor: help;
  position: relative;
  line-height: 1;
}

.info-tooltip .tooltip-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 140%;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  padding: 8px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #333;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-in-out;
}

.info-tooltip:hover .tooltip-content,
.info-tooltip:focus .tooltip-content {
  opacity: 1;
}

.info-tooltip .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.question-help {
  display: inline-block;
  position: relative;
  margin-left: 2px;
  cursor: pointer;
  line-height: 1;
}

.question-help .question-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--hijau);
  color: var(--hijau);
  font-weight: 500;
  font-size: 10px;
  box-sizing: border-box;
}

.question-help .tooltip-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 140%;
  background: #333;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  padding: 8px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-in-out;
}

.question-help:hover .tooltip-content,
.question-help:focus .tooltip-content {
  opacity: 1;
}

.question-help .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.select-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrap select {
    width: 100%;
    padding-right: 28px; 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
}

.select-wrap .caret {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 150ms ease;
    pointer-events: none;
    color: #0f6b6b;
    font-size: 20px;
    line-height: 1;
}

.select-wrap:focus-within .caret {
    transform: translateY(-50%) rotate(180deg);
}

.select-wrap select:disabled + .caret {
    color: #9aa0a6; 
}

.summary-table table tr:nth-child(even) > th,
.summary-table table tr:nth-child(even) > td {
  background-color: #f0f0f0 !important;
}
