@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: poppins;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  max-width: 1240px;
  margin: 0 auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  font-size: 14px;
}

.top-links a {
  margin-left: 20px;
  text-decoration: none !important;
  color: black !important;
}

.menu {
  display: none;
}

.col-btn-cari {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: max-content;
}

.top-bar p strong {
  color: #198754;
}

.top-links a strong {
  color: #198754;
}

.daftar {
  color: #198754 !important;
  font-weight: bold;
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  padding-top: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  /* width: 30px; */
}

.logo h2 {
  margin: 0;
  font-size: 18px;
  color: #198754;
}

.logo span {
  font-size: 10px;
  color: gray;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

nav ul li a.active {
  font-weight: bold;
  color: #198754;
}

nav ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.page1 {
  width: 100%;
  height: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 50px;
}

.content-page1 {
  width: 100%;
  max-width: 1240px;
  display: flex;
}

.left-page1 {
  width: 50%;
  height: max-content;
  min-height: 550px;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-page1 {
  width: 50%;
  min-height: 550px;
  background-image: url("imgpage1.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px;
}

.slogan-page1 {
  font-size: 3rem;
  font-weight: 200 !important;
  line-height: 70px;
  margin-bottom: 40px;
}

.slogan-page1 span {
  font-weight: 550;
  font-size: 4rem;
  color: #198754;
}


.search-container {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  gap: 10px;
  max-width: 1240px;
  margin: 30px auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 99;
  margin-top: 50px;
width: max-content;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
}

.search-box i {
  font-size: 20px;
  color: #198754;
  margin-right: 8px;
}

.search-box select {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.btn-cari {
  background: #198754;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.btn-filter {
  background: white;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-filter i {
  font-size: 20px;
  color: #198754;
}


.rekomendasi-container {
  max-width: 1240px;
  margin: 30px auto;
  padding: 10px;
}

.header-rekom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.header-rekom h2 {
  font-size: 20px;
  font-weight: 500;
}

.lihat-semua {
  text-decoration: none;
  color: #198754;
  font-weight: 500;
  border: 1px solid #198754;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 14px;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.left-page1 {
  padding-right: 0px;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.card-body {
  padding: 10px;
  position: relative;
}

.card-body h3 {
  margin: 5px 0;
  font-size: 16px;
  margin-top: 0px;
}

.rating {
  position: absolute;
  top: -7px;
  right: 0px;
  background: #198754;
  color: white;
  font-size: 13px;
  padding: 8px 8px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-body p {
  font-size: 13px;
  color: gray;
  margin: 3px 0;
}

.card-body small {
  display: block;
  font-size: 11px;
  color: gray;
  margin-bottom: 5px;
}

.card-body h4 {
  color: #198754;
  font-size: 15px;
  font-weight: bold;
}

.fasilitas-container {
  width: 100%;
  height: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 50px;
}

.content-fasilitas {
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-fasilitas h2 {
  font-weight: 500;
  font-size: 1.4rem;
}

.col-fasilitas {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.box-fasilitas {
  flex: 1 1 calc(20% - 20px);
  max-width: calc(20% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box-fasilitas p {
  font-size: 1.2rem;
  margin-top: -10px;
}


.hero-section {
  width: 100%;
  background: #f8f8f8;
  padding-bottom: 60px;
  padding-top: 20px;

}

.content-hero-section {
  display: flex;
  max-width: 1240px;
  margin: 40px auto;
  background: #f8f8f8;
  gap: 20px;
  align-items: center;
  margin-bottom: 0px;
  padding: 20px;
}

.hero-left img {
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.hero-right {
  background: #007a40;
  color: white;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: max-content;
  margin-left: -50px;
}

.hero-right .subtitle {
  margin: 0;
  font-size: 20px;
}

.hero-right h1 {
  font-size: 3rem;
  line-height: 65px;
  margin: 10px 0;
  font-weight: 300;
}

.hero-right .highlight {
  font-weight: bold;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 3.5rem;

}

.hero-right .desc {
  font-size: 14px;
  margin-top: 10px;
}

.benefits {
  background: #D3FAE8;
  padding: 25px;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 8px;
  margin-top: -50px;
}

.benefits h3 {
  font-size: 20px;
  /* margin-bottom: 15px; */
  font-weight: 400;
}

.benefits .green {
  color: #007a40;
  font-weight: bold;
}

.line {
  width: 100px;
  height: 2px;
  background-color: #007a40;
}

.col-top-text {
  display: flex;
  gap: 30px;
  align-items: center;
}

.benefit-list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.benefit-box {
  flex: 1;
  padding: 15px;
  border-radius: 8px;
  text-align: start;
}

.benefit-box i {
  font-size: 30px;
  color: #007a40;
}

.benefit-box h4 {
  margin: 10px 0 5px;
  font-weight: 500;
}

.benefit-box p {
  font-size: 13px;
  color: gray;
}

.top-text-benefit-box {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.footer {
  background: #fff;
  padding: 30px 0 15px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
  gap: 20px;
}

.footer-col .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col .logo h2 {
  margin: 0;
  font-size: 18px;
  color: #007a40;
}

.footer-col .logo p {
  margin: 0;
  font-size: 12px;
}

.footer-col .p div {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  font-size: 16px;
  color: #007a40;
  margin-bottom: 10px;
}

.footer-col .p {
  margin: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-col .p i {
  color: #007a40;
  margin-right: 5px;
  font-size: 18px;
  vertical-align: middle;
}

.footer-bottom {
  max-width: 1240px;
  margin: 20px auto 0;
  padding: 10px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons i {
  font-size: 18px;
  color: #007a40;
  cursor: pointer;
}

.p-first {
  width: 300px;
  margin-top: 15px;
  font-size: .9rem;
}


.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}



@media (max-width:1233px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 1100px;
  }
}

@media (max-width:1165px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 1000px;
  }
}

@media (max-width:1017px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 950px;
  }

  .rating {
    right: 0px;
  }
}

@media (max-width:989px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 900px;
  }

  .hero-right h1 {
    font-size: 1.3rem;
    line-height: normal;
    margin: 10px 0;
    font-weight: 300;
  }

  .hero-right .highlight {
    font-weight: bold;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 1.5rem;
  }

  .hero-right .subtitle {
    margin: 0;
    font-size: 15px;
  }
}

@media (max-width:941px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 850px;
  }

  .search-container {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    gap: 10px;
    /* max-width: 999px; */
    margin: 30px auto;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 99;
    margin-top: 50px;
    width: 801px;
    flex-wrap: wrap;
  }
}

@media (max-width:893px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 780px;
  }

  .search-container {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    gap: 10px;
    /* max-width: 999px; */
    margin: 30px auto;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 99;
    margin-top: 50px;
    width: 741px;
    flex-wrap: wrap;
  }

  nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 0;
    margin: 0;
  }
}

@media (max-width:861px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 750px;
  }
  
}
.daftar-a{
  display: none;
}
@media (max-width: 781px) {
.navbar{
  top: 0px;
}
.daftar-a{
  display: flex;
}
.main-image{
  margin-top: 5px;
}
  .top-bar,
  .top-links,
  nav ul,
  .daftar {
    display: none;
  }

  .navbar {
    justify-content: space-between;
    padding: 10px 20px;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 781px) {
  .logo img {
    width: 185px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: white;
    top: 60px;
    right: 20px;
    width: 100%;
    padding: 10px;
  }

  nav ul.show {
    display: flex;
    width: 100%;
    right: 0;
    top: 77px;
    padding: 20px 20px;
    height: 100vh !important;
    gap: 0px;
    justify-content: start;
    z-index: 999;
    position: fixed;
  }

  nav ul li {
    border-bottom: 1px solid rgb(145, 145, 145);
    /* border-top: 1px solid black; */
    padding: 20px 0;
  }

  .logo {
    margin-left: -10px;
  }

  .menu {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0px;
    margin-top: 50px;

  }

  .header-menu {
    display: flex;
    gap: 10px;
  }


  .menu li {
    border: none;
    padding: 2px 0;
  }

  .navbar {
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    background: white;
    z-index: 999;
    margin-left: -9px;
  }

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 750px;
  }

  .page1 {
    width: 100%;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-right {
    margin-left: 0px;
  }

  .content-hero-section {
    flex-direction: column;
  }

  .hero-left img {
    width: 100%;
  }

  .hero-right {
    margin-top: -50px;
    border-radius: 0px;
    position: relative;
    width: 100vw;
  }

  .benefits {
    margin-top: -79px;
  }

  .left-page1 {
    width: 100%;
    z-index: 99;
    text-align: center;
    padding-top: 100px;
  }

  .right-page1 {
    width: 100%;
    border-radius: 0px;
    position: absolute;
    background-color: none;
    left: 0px;
    background-image: url(imgpage1-mobile.webp);
  }

  .slogan-page1 {
    color: white;
  }

  .slogan-page1 span {
    color: white;
  }

  .sub-slogan-page1 {
    color: white;
  }

  .search-container {
    flex-direction: column;
    width: 80%;
    margin-top: 0;
    position: relative;
    bottom: -50px;
  }

  .search-box {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
    width: 100%;
  }

  .btn-cari {
    width: 100%;
  }

  .btn-filter {
    width: 50%;
  }

  .col-btn-cari {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .hero-right h1 {
    font-size: 2rem;
    line-height: normal;
    margin: 10px 0;
    font-weight: 300;
  }

  .hero-right .highlight {
    font-weight: bold;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 2.1rem;
  }

  .hero-right .subtitle {
    margin: 0;
    font-size: 20px;
  }

  .hero-right {
    text-align: center;
  }


}

@media(max-width:729px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 700px;
  }

  .search-container {
    flex-direction: column;
    width: 90%;
    margin-top: 0;
    position: relative;
    bottom: -50px;
  }
}

@media(max-width:705px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 680px;
  }

  .search-container {
    flex-direction: column;
    width: 90%;
    margin-top: 0;
    position: relative;
    bottom: -50px;
  }
}

@media(max-width:673px) {
.history-title{
  max-width: max-content;
}
  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 630px;
  }

  .search-container {
    flex-direction: column;
    width: 90%;
    margin-top: 0;
    position: relative;
    bottom: -50px;
  }

  .card-body h3 {
    margin: 1px 0;
    font-size: 16px;
    margin-top: 0px;
    width: 50%;
  }

  .card-body {
    padding: 10px;
    position: relative;
    padding-top: 0px;
  }
}

@media(max-width:629px) {

  header,
  .content-page1,
  .rekomendasi-container,
  .content-fasilitas,
  .content-hero-section,
  .benefits,
  .footer-container,
  .footer-bottom {
    max-width: 600px;
  }
.navbar{
  top: 0px;
}
.main-content{
  margin-top: 90px;
}
  .box-fasilitas {
    flex: 1 1 calc(30% - 20px);
    max-width: calc(30% - 20px);
  }

  .benefit-list {
    flex-direction: column;
    padding: 0px;
  }

  .top-text-benefit-box {
    margin-top: 0px;
  }

  .col-top-text {
    margin-bottom: 40px;
  }

  .navbar {
    margin-left: 0px;
  }

  .sub-slogan-page1 {
    width: 90%;
    margin: auto;
  }

  .benefits {
    padding: 34px 20px;
  }

  .col-top-text {
    flex-direction: column;
  }

  .col-top-text h3 {
    text-align: center;
  }
}

@media (max-width:529px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .slogan-page1 {
    font-size: 2rem;
  }

  .slogan-page1 span {
    font-size: 2.5rem;
  }

  .sub-slogan-page1 {
    font-size: .7rem;
  }

  .logo img {
    width: 139px;
  }

  .page1 {
    padding-top: 69px;
  }
}


.container {
    max-width: 1271px;
    margin: 60px auto;
    padding: 0 20px;
}

.main-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.left {
    flex: 2;
}

.main-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.kost-info {
    margin-top: 20px;
}

.kost-info h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.label {
    background: #eaeaea;
    padding: 2px 6px;
    border-radius: 4px;
}

.tersisa {
    margin-top: 10px;
    color: #e74c3c;
    font-weight: 400;
}

.owner {
    margin-top: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.right {
    flex: 1;
}

.sticky-box {
    position: sticky;
    top: 20px;
    background: white;
    padding: 17px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.diskon {
    color: #e74c3c;
    font-weight: 400;
}

.harga-coret {
    text-decoration: line-through;
    color: gray;
    margin-left: 5px;
}

.harga {
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0;
}

.perbulan {
    font-size: 14px;
    color: gray;
}

.dropdown {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
}

.btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn.tanya {
    background: #ffffff;
    border: 1px solid #007a40;
    color: #007a40;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 5px;
}

.btn.ajukan {
    background: #007a40;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
text-decoration: none;
gap: 10px;
  }

.voucher {
    background: #f6f6f6;
    padding: 10px;
    margin-top: 15px;
    border-radius: 6px;
    text-align: center;
}

.sticky-box {
    position: sticky;
    top: 20px;
}.thumbnail-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.thumb-image:hover {
    transform: scale(1.05);
    border-color: #007a40;
}

.lihat-semua {
    align-self: center;
    font-size: 14px;
    color: #007a40;
    white-space: nowrap;
    cursor: pointer;
}
.kost-info h2{
  font-weight: 500;
  width: 90%;
}
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .right {
        width: 100%;
        margin-top: 20px;
    }

    .thumbnail-gallery {
        gap: 8px;
    }

    .thumb-image {
        width: 70px;
        height: 70px;
    }
}
.detail-kamar {
    margin-top: 40px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.detail-kamar .refund {
    margin-bottom: 25px;
}

.detail-kamar .refund i {
    font-size: 20px;
    color: #007a40;
    margin-right: 8px;
    vertical-align: middle;
}

.detail-kamar .refund a {
    color: #007a40;
    text-decoration: underline;
    font-size: 14px;
}

.section {
    margin-bottom: 25px;
}

.section h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
}

.section ul li i {
    color: #555;
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
}

.section ul li small {
    color: #777;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .section h4 {
        font-size: 15px;
    }

    .section ul li {
        font-size: 13px;
    }
}
.card-body h3{
  color: black;
}

 .history-container {
  max-width: 1240px;
  margin: auto;
  margin-top: 50px;
}
.history-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;

  text-align: start;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row; /* fix: harus row, bukan column */
  flex-wrap: wrap;
  gap: 15px;
  transition: 0.3s ease;
  width: 700px;
  align-items: center;
}
.history-grid{
     display: flex;          /* Flexbox container */
    flex-wrap: wrap;        /* Card otomatis pindah ke baris bawah kalau nggak muat */
    gap: 20px;              /* Jarak antar card */
    justify-content: flex-start; 
}
.history-card {
  cursor: pointer;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row; /* fix: harus row, bukan column */
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  width: 100%;
}
.history-card:hover {
  transform: translateY(-2px);
}
.history-info {
  display: flex;
  flex-direction: row; /* penting */
  /* flex-wrap: wrap; */
  width: 100%;
  gap: 23px;
}
.history-image {
  flex: 1 1 40%;
  max-width: 40%;
}
.history-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.history-details {
  flex: 1 1 60%;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.history-details h3 {
  font-size: 18px;
  font-weight: 500;
}
.history-details p {
  font-size: 14px;
  color: #555;
}
.status {
  margin-top: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.status.sukses {
  color: #2e7d32;
}
.status.pending {
  color: #f9a825;
}
.status.gagal {
  color: #c62828;
}

/* OPTIONAL: ubah ukuran jadi 100% jika layar terlalu kecil */
@media (max-width: 480px) {
  .history-image,
  .history-details {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .history-info {
    flex-direction: column;
  }
   .history-card{
  width: 100%;
 }
 .history-container{
  padding: 0 10px;
 }
}

@media (max-width: 780px) {
 .history-container{
  margin-top: 90px;
 }

}

.sub-slogan-page1{
  font-size: 90%;
}
.hidden {
    display: none;
}
.card{
  width: 280px;
}
.card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom di desktop */
  gap: 20px;
}

.card {
  width: 100%;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Tablet (misal max-width 1024px) -> 2 kolom */
@media (max-width: 1024px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (misal max-width 768px) -> 1 kolom */
@media (max-width: 768px) {
  .card-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}

/* Modal box */
.modal-content1 {
  background: #fff;
  color: #333;
  margin: 10% auto;
  padding: 25px;
  border-radius: 12px;
  width: 360px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease-in-out;
}

.title {
  text-align: center;
  color: #2e7d32; /* hijau elegan */
  margin-bottom: 18px;
  font-weight: 650 !important;
}

/* Close button */
.close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}
.close:hover {
  color: #000;
}

/* Input styling */
.modal-content1 input {
  width: 100%;
  padding: 10px;
  margin: 8px 0 14px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.2s;
}
.modal-content1 input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 5px rgba(46,125,50,0.3);
}

/* Actions */
.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

/* Button styles */
.save-btn {
  background: #2e7d32;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.save-btn:hover {
  background: #1b5e20;
}

.logout-btn {
  background: #e53935;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.logout-btn:hover {
  background: #c62828;
}

/* Animasi modal */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
#tanggal_mulai{
  width: 100%;
  padding:5px 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.col-durasi{
  margin-top: 10px;
  margin-bottom: 10px;
}
#durasi{
  width: 63%;
  padding:5px 5px;
  margin-bottom: 10px;
}
#satuan{
  width:35%;
  padding:5px 5px;
  margin-bottom: 10px;
}
  .coupon {
      display: flex;
      align-items: center;
      width: 100%;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      overflow: hidden;
      margin-top: 20px;
    }

    .coupon-left {
      background:#1a8754; /* hijau toska */
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100px;
      position: relative;
    }

    /* efek gerigi kiri */
    .coupon-left::before,
    .coupon-left::after {
      content: "";
      position: absolute;
      right: -6px;
      width: 12px;
      height: 12px;
      background: #fff;
      border-radius: 50%;
    }
    .coupon-left::before { top: 20px; }
    .coupon-left::after { bottom: 20px; }

    .coupon-left img {
      width: 60px;
      height: 60px;
      object-fit: contain;
    }

    .coupon-body {
      flex: 1;
     padding-left:25px;
    }

    .coupon-body h4 {
      margin: 0;
      font-size: 14px;
      font-weight: bold;
      color: #333;
    }

    .coupon-body p {
      margin: 4px 0 8px;
      font-size: 13px;
      color: #666;
    }

    .coupon-body small {
      font-size: 12px;
      color: #999;
    }

    .coupon-body a {
      font-size: 12px;
      color: #3b82f6;
      text-decoration: none;
      margin-left: 5px;
    }

    .coupon-right {
      padding: 15px;
    }

    /* From Uiverse.io by 00Kubi */ 
.card-popup {
  width: 300px;
  height: 220px;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
}

#cookieSvg {
  width: 50px;
}

#cookieSvg g path {
  fill: rgb(97, 81, 81);
}

.cookieHeading {
  font-size: 1.2em;
  font-weight: 800;
  color: rgb(26, 26, 26);
}

.cookieDescription {
  text-align: center;
  font-size: 0.7em;
  font-weight: 600;
  color: rgb(99, 99, 99);
}

.cookieDescription a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
}

.cookieDescription a:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.buttonContainer {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.acceptButton {
  width: 80px;
  height: 30px;
  background-color: #7b57ff;
  transition-duration: .2s;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px #977ef3, 0 2px 4px -1px #977ef3;
  transition: all .6s ease;
}

.declineButton {
  width: 80px;
  height: 30px;
  background-color: #dadada;
  transition-duration: .2s;
  color: rgb(46, 46, 46);
  border: none;
  cursor: not-allowed;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px #bebdbd, 0 2px 4px -1px #bebdbd;
  transition: all .6s ease;
}

.declineButton:hover {
  background-color: #ebebeb;
  box-shadow: 0 10px 15px -3px #bebdbd, 0 4px 6px -2px #bebdbd;
  transition-duration: .2s;
}

.acceptButton:hover {
  background-color: #9173ff;
  box-shadow: 0 10px 15px -3px #977ef3, 0 4px 6px -2px #977ef3;
  transition-duration: .2s;
}

/* From Uiverse.io by 00Kubi */ 
.card-popup {
  width: 300px;
  height: 220px;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
}

#cookieSvg {
  width: 50px;
}

#cookieSvg g path {
  fill: rgb(97, 81, 81);
}

.cookieHeading {
  font-size: 1.2em;
  font-weight: 800;
  color: rgb(26, 26, 26);
}

.cookieDescription {
  text-align: center;
  font-size: 0.7em;
  font-weight: 600;
  color: rgb(99, 99, 99);
}

.cookieDescription a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
}

.cookieDescription a:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.buttonContainer {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.acceptButton {
  width: 80px;
  height: 30px;
  background-color: #1b5e20;
  transition-duration: .2s;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px #977ef3, 0 2px 4px -1px #977ef3;
  transition: all .6s ease;
}

.acceptButton:hover {
  background-color:#1b5e20;
  box-shadow: 0 10px 15px -3px #977ef3, 0 4px 6px -2px #977ef3;
  transition-duration: .2s;
}
.col-popup{
  width: 100%;
  height: 100vh;
  background-color: #00000057;
  z-index: 999999;
  position: fixed;
  top: 0px;
  justify-content: center;
  align-items: center;
  display: none;
  left: 0px;
}

.disabled-btn,
.btn.ajukan[disabled] {
    background-color: #ccc; /* abu-abu */
    cursor: not-allowed;
    color: #666;
}
.voucher {
    display: flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    background: rgb(85, 67, 28); /* garis-garis kocak */
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-top: 10px;
width: 100%;
  }

#reviewText {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    resize: none; /* hilangkan drag untuk ubah ukuran */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#reviewText:focus {
    outline: none;
    border-color: #f39c12; /* highlight warna oranye saat focus */
    box-shadow: 0 4px 10px rgba(243,156,18,0.3);
}
  .banner {
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
          max-width: 1240px;
          margin: auto;
      overflow: hidden;
      margin-bottom: 50px;
    }
    .banner-content {
      flex: 1;
      padding: 24px;

    }
    .banner-title {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 8px;
      color: #222;
    }
    .banner-desc {
      font-size: 1rem;
      color: #444;
      margin-bottom: 20px;
    }
    .banner-btn {
      padding: 10px 20px;
      border: 2px solid #1abc5b;
      background: #fff;
      color: #1abc5b;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .banner-btn:hover {
      background: #1abc5b;
      color: #fff;
    }
    .banner-image {
      width: 339px;
      height: max-content;
      object-fit: cover;
      border-radius: 0 16px 16px 0;
      margin-left: 24px;
      border-bottom-left-radius: 120px;
    }
    @media (max-width: 700px) {
      .banner {
        flex-direction: column;
        text-align: center;
      }
      .banner-image {
        width: 100%;
        height: 180px;
        margin: 16px 0 0 0;
        border-radius: 0 0 16px 16px;
      }
    }

    /* QRIS Button Styles - Unique Classes */
.qris-display-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.qris-display-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 201, 255, 0.3);
}

/* QRIS Popup Styles - Unique Classes */
.qris-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.qris-modal-overlay.show-qris-modal {
    display: flex;
}

.qris-popup-container {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 350px;
    width: 90%;
    position: relative;
    animation: qrisSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes qrisSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.qris-popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.qris-popup-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.qris-popup-subtitle {
    font-size: 14px;
    color: #666;
}

.qris-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.qris-code-image {
    width: 200px;
    height: 200px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qris-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.qris-close-btn:hover {
    background: #e9ecef;
    color: #333;
}

.qris-footer-info {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}
.qna-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.qna-question {
    background: #f8f8f8;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.qna-question:hover {
    background: #eee;
}

.qna-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 16px;
}

.qna-answer.open {
    max-height: 1000px; /* biar cukup tinggi */
    padding: 12px 16px;
}

.qna-answer h6 {
    margin-top: 10px;
    font-weight: 600;
}
.qna-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 16px;
    background: #fff;
    border-top: 1px solid #eee;
}

.qna-answer.open {
    max-height: 2000px;
    padding: 16px;
}

.detail-box {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 kolom */
    gap: 10px 20px;
    margin-bottom: 16px;
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.detail-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.detail-box span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.detail-section {
    margin-bottom: 14px;
}

.detail-section h6 {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    border-left: 3px solid #1a8754;
    padding-left: 8px;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.detail-section ul li {
    padding: 6px 10px;
    background: #f3f4f6;
    margin-bottom: 6px;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    position: relative;
}

.detail-section ul li::before {
    content: "✔";
    color: #1a8754;
    font-size: 12px;
    margin-right: 6px;
}
