body {
  background-color: #f7f8f9;
  color: #131315;
}
.wa-bottom {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 99;
  background: #e6e6e694;
  border-radius: 14px;
}

.container-footer-custom {
  background-color: var(--mono-dark);
  width: 100%;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 35px;
  .text-warning {
    color: var(--bny-color-warning);
  }
  p {
    color: white;
    a {
      color: white;
    }
  }
  .copyright {
    color: var(--bny-color-warning);
  }
  .logo-footer {
    img {
      background-color: white;
      border-radius: 50%;
      width: 100px;
      margin: auto;
    }
  }
}

.carousel .carousel-inner .fill img {
  object-fit: cover;
  height: 80vh;
}

.jumbotron {
  background-image: url(../../../assets/images/bg_jumbo.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding-top: 32px;
}

.jumbotron h1 {
  background-color: #5d5d5d9c;
  border-radius: 27px;
  font-size: 42px;
  text-align: center;
}

.carousel-caption {
  font-size: 32px;
  background-color: #52525280;
  border-radius: 5px;
}

/* .jumbotron:before {
  content: "";
  background-color: var(--bny-color-primary);
  opacity: 0.41;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  inset: 0;
  position: absolute;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
} */

.jumbotron .container {
  color: #fff;
}

.jumbotron p {
  font-weight: 400;
}

.navbar-default {
  background-color: var(--bny-color-primary);
}

.navbar-default .navbar-brand img {
  background-color: white;
  border-radius: 50%;
}

.navbar-default .nav .dropdown li a:hover {
  border-bottom: none;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #000 !important;
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  color: #ffffff !important;
}

.panel-primary {
  border: none;
  background-color: #f7f8f9;
}

.panel-primary > .panel-heading {
  border-color: var(--bny-color-primary);
  background: linear-gradient(
    to right,
    var(--bny-color-primary),
    var(--bny-color-secondary)
  );
  color: #ffffff;
  border-radius: 5px;
}

.navbar-default {
  border-bottom: none;
  box-shadow: 0 4px 8px rgba(84, 136, 98, 0.6);
}

.navbar-default .nav li a {
  text-transform: none;
  font-weight: 500;
  border-radius: 0px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
  /* background: rgb(245 245 245 / 1); */
  background-color: var(--bny-color-primary);
  color: #fff;
  border-radius: 0px;
  border-bottom: 2px white solid;
  padding-bottom: 13px;
}

.navbar-default .navbar-brand img {
  max-height: 50px;
}
.navbar-default .nav .dropdown li a:focus {
  color: #fff !important;
}

.navbar-nav #active {
  /* background: rgb(245 245 245 / 1); */
  background-color: var(--bny-color-primary);
  border-radius: 0px;
  color: #fff !important;
}

.navbar .container {
  padding-bottom: 10px;
  padding-top: 10px;
}

.container-article-index,
.container-article-category {
  .left-side {
    .panel-primary {
      border: none;
      background-color: #f7f8f9;
    }
    .panel-heading {
      font-size: 16px;
      background: linear-gradient(
        to right,
        var(--bny-color-primary),
        var(--bny-color-secondary)
      );
      color: #ffffff;
      border-radius: 5px;
    }
    .panel-body {
      .row {
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-left: 10px;
        margin-bottom: 18px;
        background-color: #fff;
        .galleryimgs {
          a {
            img {
              height: 100% !important;
              border-radius: 14px;
              margin-left: -80px;
              box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            }
          }
        }
        .md-content {
          margin-left: -38px !important;
          margin-bottom: 10px;
          h3 {
            a {
              text-transform: none;
              font-size: 22px;
              position: relative;
              /* color: var(--bny-color-primary); */
              text-decoration: none;
              transition: color 0.3s ease;
            }

            a::after {
              content: "";
              position: absolute;
              left: 0;
              bottom: 0;
              width: 0;
              height: 2px;
              background-color: var(--bny-color-primary);
              transition: width 0.3s ease;
            }

            a:hover::after {
              width: 100%;
            }
          }
          p {
            .category-name {
              padding: 5px 10px;
              background: var(--bny-color-light);
              color: var(--bny-color-hover);
              border-radius: 20px;
              font-size: 10px;
              font-weight: 600;
            }
            .category-name:hover {
              background: var(--bny-color-primary);
              color: #fff;
              text-decoration: none;
            }
          }
        }
      }
    }
  }
}

.section-informasi-ppdb {
  background-color: var(--ana-2);
  color: white;
  border-radius: 0 0 20px 20px;
  .section-green {
    padding-top: 10px;
  }
  h4 {
    text-transform: none;
    font-size: 28px;
  }
  img {
    border-radius: 50%;
    margin: 18px;
  }
  .text-informasi {
    padding-top: 40px;
    h3 {
      text-transform: none;
      font-size: 28px;
    }
    p {
      font-size: 18px;
    }
  }
  .mt-50 {
    padding-top: 50px;
  }
}

.section-sambutan-kepsek {
  margin-top: 30px;
  img {
    border-radius: 22px;
  }
  h4 {
    text-transform: none;
    font-size: 28px;
    color: #4a4a4a;
  }
  .kata-kepsek {
    h3 {
      margin-top: 0px;
      color: #4a4a4a;
    }
    p {
      font-size: 18px;
      color: #4a4a4a;
      strong {
        border-bottom: 1px solid #4a4a4a;
        font-style: italic;
      }
    }
  }
  .text-center {
    padding-bottom: 28px;
  }
}

.section-fasilitas-sekolah {
  margin-top: 30px;
  h4 {
    text-transform: none;
    font-size: 28px;
    color: #4a4a4a;
  }
  .text-center {
    margin-bottom: 22px;
  }
  .col-md-3 .text-center {
    color: #4a4a4a;
    font-size: 16px;
    white-space: nowrap;
    text-transform: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .carousel .carousel-inner .fill img {
    object-fit: cover;
    height: 370px;
    border-radius: 50px 0 50px 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .carousel .carousel-inner .fill:hover img {
    transform: scale(1.2); /* zoom in sedikit (5%) */
  }
  .carousel.slide {
    .carousel-control {
      display: none;
    }
    .carousel-indicators {
      display: none;
    }
  }
}

div#syarat li {
  color: #434343;
}

#terkirim {
  table,
  table td,
  table th {
    color: #000; /* hitam */
  }
}

#table_review_wrapper {
  max-height: 300px; /* tinggi maksimal wrapper */
  overflow-y: auto; /* scroll vertical */
  overflow-x: hidden; /* sembunyikan horizontal scroll */
  position: relative; /* untuk pseudo-element */
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
}

/* shadow di bawah saat scrollable */
#table_review_wrapper::after {
  content: "";
  position: sticky; /* tetap di bawah wrapper */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px; /* tinggi shadow */
  pointer-events: none; /* tidak menghalangi klik */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

#table_review th,
#table_review td {
  padding: 4px 8px; /* atas-bawah 4px, kiri-kanan 8px */
  vertical-align: middle; /* agar teks sejajar vertikal */
  font-size: 14px; /* optional, supaya lebih compact */
}

.panel-body .control-group {
  padding-top: 12px;
}

.section-informasi-dan-berita {
  background-color: var(--ana-2);
  color: white;
  border-radius: 20px;
  margin-top: 30px;
  img {
    margin-bottom: 22px;
    margin-left: 16px;
    border-radius: 20px;
  }
  h4 {
    text-transform: none;
    font-size: 28px;
    margin-top: 30px;
  }
  p {
    font-size: 18px;
  }
  .text-informasi {
    padding-top: 26px;
  }
  a.btn {
    margin-top: 24px;
  }
}

.btn-glow-border {
  position: relative;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
}

.btn-glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; /* ketebalan glow */
  background: linear-gradient(
    90deg,
    var(--green-50),
    var(--green-100),
    var(--green-200),
    var(--green-300),
    var(--green-400),
    var(--green-500),
    var(--green-600),
    var(--green-700),
    var(--green-50)
  );
  background-size: 300%;
  animation: glowBorder 3s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.coklat {
  color: #7c6256;
}

.image-biaya {
  width: 400px;
  border-radius: 10px;
  border: 3px dashed #4caf50;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.list-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  color: #7c6256;
  padding: 0;
}

.list-3-col li {
  padding: 5px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 12px;
}

/* Fullscreen overlay */
.loading-modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Box tengah */
.loading-box {
  text-align: center;
}

/* Spinner animasi */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

table.custom-table {
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

table.custom-table th,
table.custom-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

table.custom-table th {
  background-color: #f5f5f5;
  color: #333;
}

table.custom-table tr:nth-child(even) {
  background-color: #fafafa;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mobile view: jadi 1 kolom */
@media (max-width: 480px) {
  .list-3-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .image-biaya {
    width: 100%;
    border-radius: 10px;
  }
}

@keyframes glowBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@media (min-width: 768px) {
}
