@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fcebd7;
    color: #3c3c3c;
  }

  .wrapper {
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 20px 20px 0 0;
    padding: 25px 35px 40px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.12);
	  background-color:#fffcf6;
background-image: url("../img/wellness/bg-header.png");
background-position: top;
background-repeat: no-repeat;
  }

  /* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* ===== NAVBAR ===== */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #dacfcf;
  font-weight: 600;
  font-size: 14px;
  color: #7b5518;
  position: relative;
  box-shadow: 0 3px 10px rgb(0 0 0 / 10%);
}

/* ===== BAGIAN ===== */
nav .left,
nav .center,
nav .right {
  display: flex;
  align-items: center;
}

nav .left img {
  width: 190px;
}

nav .center {
  gap: 28px;
}

nav .center a {
  color: #3c3c3c;
  text-decoration: none;
}

nav .center a.pilihder,
nav .center a:hover {
  text-decoration: underline;
  color: #a17119;
}

nav .right {
  color: #a17119;
  font-weight: 700;
}

nav .right span {
  border-bottom: 2px solid #dfc5ab;
}

.profile-circle {
  width: 32px;
  height: 32px;
  background: #ddd;
  border-radius: 50%;
  margin-left: 12px;
}

/* ===== BURGER ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #7b5518;
  user-select: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav .right {
    display: none;
  }
  nav {
    flex-wrap: wrap;
  }

  nav .left img {
    width: 150px;
  }

  nav .center {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 15px 0;
    margin-top: 10px;
    border-top: 1px solid #eee;
    background: #fff;
    animation: slideDown 0.3s ease;
  }

  nav .center.active {
    display: flex;
  }

  nav .right span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== ANIMASI ===== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





  /* Greeting */
  .greeting {
    background: white;
    border-radius: 10px 10px 60px 10px;
    padding: 22px 28px;
    font-size: 20px;
    font-weight: 700;
    color: #3c3c3c;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    margin: 30px 0 25px;
    margin-top:20px;
    width: 65%;
    border: 1px #e1c09f solid;
  }


  .greetingss{
    padding: 22px 28px 22px 10px;
    font-size: 26px;
    font-weight: 700;
    color: #3c3c3c;
    margin-bottom: 10px;
    margin-top:20px;
    width: 100%;
  }


  .fullwith{
    width: 90%;
    margin: 0 auto;
    border-radius: 0 0 30px 30px;
    background-image: url("../img/bg-jadwal.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 400px;
  }

  h4.wp4h{
    padding: 12px 32px;
    font-size: 35px;
    color:#ffffff;
    width: 55%;
    line-height: 38px;
    margin-bottom: 0px;
    margin-top:40px;
  }
  .greeting p{
    font-size: 13px;
    margin-left: 52px;
    margin-top:5px;
    color:#ffffff;
    font-weight: 400;
  }

  .fullwith small{
    font-weight: 400;
    font-size: 14px;
    margin-top: 0px;
    display: block;
    color:#ffffff;
    padding-left:20px;
    background-image: url("../img/wellness/lokasi.png");
    background-position: top left;
    background-repeat: no-repeat;
    margin-left: 32px;
  }
  .greetingss .username{
    color: #a9641f;
    text-decoration: underline;
    cursor: pointer;
    font-size: 20px;
  }
  .greeting .username {
    color: #a9641f;
    text-decoration: underline;
    cursor: pointer;
  }
  .greetingss small.kkkk{
    font-weight: 400;
    font-size: 18px;
    margin-top: 15px;
    display: block;
    line-height: 20px;
  }
  .greeting small {
    font-weight: 400;
    font-size: 14px;
    margin-top: 6px;
    display: block;
    line-height: 20px;
  }



  .damm-grid {
    /* display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top:20px; */
    min-width: 200px;
    max-width: 400px;
    margin: 10px auto;
  }

  .damm-grid div {
    padding: 20px;
    text-align: center;
    
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
    height: 160px;
    color:#552a00;

    /* display: flex;
    justify-content: left;  
    align-items: center;      
    user-select: none; */
    text-align: left;
    padding: 32px 20px;
    margin: 15px auto;
   
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    position: relative;
}

.wrapdataprodukyes{
  background-image: url("../img/wellness/bg-produk-yes.png");
  border: 1px solid #facfa9;
}

.wrapdataprodukno{
  background-image: url("../img/wellness/bg-produk-no.png");
  border: 1px solid #d2d2d2;
}


.damm-grid div p{
  width: 100%;
  margin-left: 0px;
  font-size: 14px;
  color:#552a00;
  margin: 8px 0px;
}


  .two-grids2 {
    display: grid;
    grid-template-columns: 0.4fr 1.6fr ;
    gap: 20px;
    margin-top:20px;
  }

  .two-grids {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr ;
    gap: 10px;
  }
  
  .two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 40px;
    padding: 20px;
  }

  .main-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 15px;
  }

  /* Status box */
  .status-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.07);
    padding: 10px 15px 0px 15px;
	  border: 1px #e8e5dd solid;
  }
  .status-title {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 140px;
    color: #5b3a00;
    padding: 25px 16px;
    box-shadow: inset 20px 0 40px rgb(0 0 0 / 0.06);
    margin-bottom:10px;
    font-size: x-large;
    border-radius:20px;
    font-weight: bold;
  }
  .status-sub {
    margin-top: 35px;
    font-size: medium;
    font-weight: normal;
  }
  .status-sub strong {
    color: #b80000;
  }

  /* Kuota box */
  .quota-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.07);
    padding: 16px 20px;
    margin-top:10px;
    border: 1px #ffffff  solid;
  }
  .quota-row {
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #633f00;
    padding: 25px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background:#ffffff;
    cursor: pointer;
  }
  .quota-row strong{
    width: 90%;
    font-size: 15px;
  }
  .quota-row span{
    font-weight: normal;
    font-size: 14px;
    width: 95px;
    text-align: right;
    display: block;
  }
  .quota-row.gym {
	background-image: url("../img/wellness/bgsmall.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 80px;
	color: #5b3a00;
	box-shadow: inset 20px 0 40px rgb(0 0 0 / 0.06);
	}

  .quota-row.swim {
	background-image: url("../img/wellness/bg2.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 70px;
	color: #5b3a00;
	box-shadow: inset 20px 0 40px rgb(0 0 0 / 0.06);
  }
  .quota-row.nutrition {
	background-image: url("../img/wellness/bg3.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 70px;
	color: #5b3a00;
	box-shadow: inset 20px 0 40px rgb(0 0 0 / 0.06);
  }
  .quota-row.general {
	background-image: url("../img/wellness/bg4.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 70px;
	color: #5b3a00;
	box-shadow: inset 20px 0 40px rgb(0 0 0 / 0.06);
  cursor: pointer;
  }

  /* No Antrian box */
  .queue-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.07);
    font-weight: 600;
    width: 100%;
    user-select: none;
    text-align: left;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
  }
  .queue-label {
    margin-bottom: 10px;
    color: #3c3c3c;
    font-weight: 700;
    font-size: larger;
  }
  .queue-number {
    font-size: small;
    font-weight: 700;
    color: #3c3c3c;
  }

  /* Riwayat Paket */
  .history-box {
    max-width: 340px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.07);
    padding: 18px 20px;
    font-size: 14px;
    color: #593a00;
	  border: 1px #e8e5dd solid;


  }
  .history-title {
    font-weight: 700;
    margin-bottom: 15px;
  }
  .history-list {
    list-style: none;
    padding: 0;
    margin: 0;


    max-height: 600px;
    overflow-y: auto; 
  }
  .history-list li {
    background: #fff8f8;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    list-style: inside;
    padding-left: 6px;
  }
  .history-list li.null{
    background:none;
  } 
  .history-list li::marker {
    color: #a9641f;
    font-size: x-large;
    margin-left: 0px;
	}

  .history-list li span.date {
    font-weight: 700;
    font-size: 13px;
    margin-left: -10px;
  }
  .history-list li span.detail {
    display: block;
    font-weight: 400;
    font-size: 13px;
    margin-top: 2px;
	padding-left:20px;
  }
  .history-edit-btn {
    margin-top: 6px;
    display: inline-block;
    font-weight: 700;
    font-size: 13px;
    color: #a17119;
    border: 1.5px solid #a17119;
    background: white;
    border-radius: 5px;
    padding: 7px 16px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
	width: 100%;;
  }
  .history-edit-btn:hover {
    background-color: #f4a73e;
    color: white;
  }

  /* Kalender */
  .calendar {
    max-width: 270px;
    background: white;
    padding: 20px 18px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.1);
    font-size: 13px;
    color: #3c3c3c;
    user-select: none;
	  border: 1px #e8e5dd solid;

  }
  .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #000000;
    margin-bottom: 14px;
    background: #f5f5f5;
    padding: 10px;
    border: 1px solid #f5f5f5;
  }
  .calendar-header .buttons {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    cursor: pointer;
    user-select: none;
  }
  .calendar-header span {
    font-weight: 600;
    font-size: 15px;
  }
  table.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
  }
  table.calendar-table th,
  table.calendar-table td {
    padding: 7px 0;
    font-weight: 600;
    font-size: 13px;
    color: #a17119;

  }
  table.calendar-table td {
    color: #3c3c3c;
    margin:10px;
    width: 30px;
    height: 30px;
  }
  table.calendar-table td.outside-month {
    color: #c0b9b2;
  }
  table.calendar-table td.holiday {
    color: #cf4f4f;
  }
  table.calendar-table td.today {
    background-color: #d5f1c1;
    border-radius: 50%;
    font-weight: 700;
    color: #4a5f27;
  }
  table.calendar-table td.selected {
    background-color: #f4a73e;
    border-radius: 50%;
    font-weight: 700;
    color: white;
  }

  table.calendar-table td.selectedorange{
    background-color: #ecc090;
    border-radius: 50%;
    font-weight: 700;
    color: white;
  }

  table.calendar-table td.selectedblue{
    background-color: #b8dcf3;
    border-radius: 50%;
    font-weight: 700;
    color: white;
  }

  table.calendar-table td.selectedgreen{
    background-color: #d1d1d1;
    border-radius: 50%;
    font-weight: 700;
    color: white;
  }


  /* Jadwal Anda */
  .your-schedule {
    max-width: 270px;
    margin-top: 20px;
  }

  .adascroll {
    max-height: 550px;overflow-y: auto;
  }
  .schedule-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgb(0 0 0 / 0.07);
    padding: 14px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #6b5c42;
    border: 1px #e8e5dd solid;
    height: 80px;
    display: grid;
    justify-content: space-between;
    align-items: center;
    position: relative; /* wajib */
  }

  .schedule-item .btnbtl {
    background: #d13737;
    padding: 4px 10px;
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
  }

  .schedule-item.green {
    border-left: 14px solid #d1d1d1;
  }
  .schedule-item.orange {
    border-left: 14px solid #ecc090;
  }
  .schedule-item.blue {
    border-left: 14px solid #b8dcf3;
  }
  .schedule-item strong {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
  }

  /* Footer */
  footer {
    max-width: 1000px;
    margin: 0px auto 0;
    padding: 20px 35px;
    background-image: url("../img/wellness/footer.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
  }
  footer div{
	  font-weight: normal;
    text-align: end;
  }
  .social-icons {
    display: flex;
    gap: 15px;
  }
  .social-icons img {
    width: 22px;
    cursor: pointer;
  }
  .social-icons img:hover {
    filter: brightness(1.2);
  }

  /* Responsive */
@media (max-width: 900px) {
  .wrapper {
    padding: 20px 20px 30px;
  }
  nav {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
  }
  nav .center {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  nav .right {
    width: 100%;
    text-align: right;
  }
  
  .main-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .damm-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .two-grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-grids2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-grids {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .status-box, .quota-box, .queue-box, .history-box, .calendar, .your-schedule, .schedule-item {
    max-width: 100% !important;
  }
  
  .quota-box {
    margin-top: 12px;
  }
  
  .history-box {
    max-height: none;
  }
  
  .your-schedule {
    margin-top: 15px;
  }
}
#divv{
	margin-top:-90px;
}
@media (max-width: 480px) {
	#divv{
		margin-top:0px;
	}
  body {
    font-size: 14px;
  }
  .greeting {
    font-size: 18px;
    padding: 16px 20px;
	width: 100%;
  }
  nav {
    font-size: 12px;
    padding: 10px 16px;
  }
  .quota-row {
    font-size: 14px;
    padding: 10px 18px;
  }
  .queue-box {
    max-width: 100%;
    padding: 16px 20px;
  }
  .history-list li {
    font-size: 13px;
    padding: 8px 12px;
  }
  .calendar {
    padding: 16px 14px;
  }
  .calendar-header {
    font-size: 13px;
  }
  table.calendar-table th,
  table.calendar-table td {
    padding: 5px 0;
    font-size: 12px;
  }
  .schedule-item {
    font-size: 12px;
    padding: 12px 14px;
  }
}
span.tjdl{
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
}
.queue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px #e8e5dd solid;
  background: #ffffff;
  padding: 27px 20px;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom:10px;
}

.queue-text {
  font-size: 14px;
  font-weight: 600;
  color: #3c3c3c;
  line-height: 1.4;
}

.queue-number {
  height: 65px;
  background: #ffebd9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: small;
  font-weight: 700;
  color: #3c3c3c;
  margin: 0 auto;
  padding:5px;
  text-align: center;
}

.queue-number strong{
  font-size: x-large;
}


  .transparent-box {
    background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.80), /* putih semi-transparan */
    #fbf7e6                   /* krem solid */
    );
    padding: 25px;
    border-radius: 12px;
    width: 80%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin: -140px auto 0px auto;
  }
  .transparent-box .adabox {
    background:#f9f9f9;
    padding:10px 25px;
    border:1px solid #d2d2d2;
    border-radius:15px;
    margin-top:15px;
  }

  .transparent-box h3 {
    margin: 0px;
    padding: 0px;
    text-align: left;
    font-variant: ;
    color:#5c2e00;
  }
  
  .transparent-box p {
    margin: 2px 0px 0px 0px;
    padding: 0px;
    font-size: 15px;
  }

  .transparent-box label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
  }

  .transparent-box select,
  .transparent-box input,
  .transparent-box .buttons {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
  }

  .transparent-box .buttons {
    background: #56a42b;
    color: white;
    cursor: pointer;
    max-width: 300px;
    margin: 0 auto;
    font-size: 16px;
  }

  .transparent-box .buttons:hover {
    background: #89c767;
  }

  .transparent-box .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* GRID 2 */
    gap: 5px;
    margin-top:25px;
  }
  .transparent-box .adabagitdkadil{
    display: grid;
    grid-template-columns: 0.7fr 1.3fr; /* GRID 2 */
    gap: 5px;
    margin-top:10px;
  }

  .transparent-box .form-group {
    display: flex;
    flex-direction: column;
  }

  .transparent-box .form-group p{
    font-size: 14px;
    margin-bottom:15px;
  }
  .form-group.full {
    grid-column: 1 / -1; /* full row */
    margin-top:20px;
  }

  @media (max-width: 768px) {
    .transparent-box .form-grid {
      grid-template-columns: 1fr; /* 1 kolom di tablet/smartphone */
    }
    h4.wp4h{
      width:100%;
    }
    .two-grid{
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }

/* tombol demo */
.open-btn {
  margin: 50px;
  padding: 12px 20px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 999;
}

    .modal.active {
      display: flex;
    }

    /* modal box */
    .modal-box {
      background: #ffffff;
      width: 100%;
      max-width: 500px;
      border-radius: 12px;
      padding: 35px;
      border:2px solid #fff8eb;
      padding-top: 25px;
      margin:35px auto 0 auto;
      position: relative;
    }

    .adatambahan{
      max-width: 750px;
      border:2px solid #cf9153;
      
    }

    .adatambahan h2{
      text-align: center;
    }
    .modal-box h2 {
      text-align: left;
      margin-bottom: 20px;
      font-size: 18px;
      margin-top:10px;
    }

    .modal-box .isibox{
      padding: 20px;
      margin-bottom: 20px;
      background: #ffffff;
      border: 1px solid #e9e9e9;
      border-radius:10px;
    }
    .modal-box .adanana{
      border: 1px solid #e9e9e9;
      padding: 20px 0px 10px 0px;
      margin-bottom: 20px;
      background: #fafafa;
      border-radius: 10px;
      box-shadow: 0 3px 10px rgb(0 0 0 / 10%);
      text-align: center;
    }
    .modal-box .adanana p,
    .modal-box .isibox p{
      padding-bottom: 7px;
      font-weight: bold;
    }
    .btnsilang {
      color: black;
      position: absolute;
      right: 15px;
      border: none;
      top: 15px;
      font-weight: bold;
      font-size: 20px;
      font-family: cursive;
      background:none;
    }
    .btncancel{
      background: #9f0e0e;
      padding: 10px 20px;
      border: 1px solid #9f0e0e;
      color:white;
      font-size: 14px;
      border-radius:10px;
      margin: 0 auto;
      display: block;
      width: 80%;;
    }
    /* form group */
    .form-group {
      display: flex;
      gap: 10px;
      margin-bottom: 12px;
    }

    .form-group label {
      width: 110px;
      font-weight: bold;
      font-size: 14px;
    }

    .box {
      flex: 1;
      min-height: 36px;
      border: 1px solid #d1d5db;
      border-radius: 6px;
      padding: 8px;
      background: #f9fafb;
    }
    .box strong{
      width: 120px;
      font-weight: 600;
      display: inline-block;
    }
    .box strong span{
      float: right;
      font-weight: bold;
    }
    /* warning */
    .warning {
      margin: 5px 0;
      font-size: 15px;
      background-image: url("../img/wellness/tanyaseru.png");
      background-position: top left;
      background-repeat: no-repeat;
      padding-left: 28px;
      margin-left: 10px;
      margin-bottom: 25px;
      line-height: 22px;
    }

    /* actions */
    .warning .actions {
      display: flex;
      gap: 10px;
      justify-content: space-between;
      text-align: center;
    }

    .warning .btn {
      padding: 10px 16px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      font-size: 16px;
    }

    .actions .btncancelx {
      background: #56a42b;
      width: 40%;
      color: white;
      padding: 10px 16px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      font-size: 16px;
    }

    .actions .btnconfirmx {
      background: #ce7115;
      color: white;
      width: 40%;
      padding: 10px 16px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      font-size: 16px;
    }

    /* ===== MOBILE ===== */
    @media (max-width: 480px) {
      .modal-box {
        padding: 16px;
      }

      .form-group {
        flex-direction: column;
        gap: 4px;
      }

      .form-group label {
        width: 100%;
      }

      .actions {
        flex-direction: column;
      }

      .btn {
        width: 100%;
      }
      .btn.cancel, .btn.confirm {
        width: 100%;
      }
    }




.card-wrapper {
  position: relative;
  margin-bottom: 16px;
}

/* CARD TETAP */
.card {
  border: 1px solid #d7a876;
  border-radius: 10px;
  background: #d7a876;
}

.pilihcaerd{
  border-radius: 10px 10px 0 0;
}

/* HEADER */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-weight: 600;
}
.tdlpadding{
  padding-left:0px;
}

.card-header span.jdlisi{
  font-size: 18px;
}

.card-header  .btnss{
  background: white;
  padding:8px 15px;
  border:1px solid #ce7115;
  color:#5d4023;
  border-radius:15px;
  font-weight: 600;
  font-size: 14px;
}
/* DETAIL OVERLAY */
.card-content {
  top: 100%;
  left: 0;
  right: 0;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 0 0 10px 10px;
  margin-top: 0px;
  padding: 14px 16px;
  display: none;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.card-content.show {
  display: block;
}

/* BUTTON */
.btns {
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}


.card-content .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}


.card-content .item .wrapdatadetail{

  width: 100%;
  margin-top:0px;
}

.card-content .item .wrapdatadetail ul li{
  list-style: none;
  padding: 10px 0px;
}

.card-content .item .wrapdatadetail ul li strong.hjijj{
  background: #e8b47a;
  width: 100%;
  display: block;
  padding: 8px;
  border:1px solid #e8b47a;
  border-radius:10px;
}



.card-content .item .wrapdatadetail ul li ul{
  margin-left:15px;
  padding: 0px;
}

.card-content .item .wrapdatadetail ul li ul li{
  border-bottom:1px solid #e8b47a;
  list-style: disc;
}

.card-content .item:last-child {
  border-bottom: none;
}

.card-content .item strong {
  font-size: 14px;
  color: #111827;
}

.card-content .item small {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.card-content .item span.jijuj {
  font-weight: 600;
  color: blue;
  white-space: nowrap;
  /* display: block; */
  float: right;
}

.card-content .item span {
  font-weight: 600;
  color: #2563eb;
  white-space: nowrap;
}




.card-content .item span.spator {
  font-weight: 600;
  color: #d7a876;
  white-space: nowrap;
  padding:0 5px;
}

.card-content .item span.cokk {
  background-color: none;   /* changed 'color' to background for the circle */
  border: 2px solid #c4884d;
  width: 28px;
  height: 28px;
  border-radius: 50%;          /* makes it a perfect circle */
  display: flex;               /* flexbox for centering */
  align-items: center;         /* vertical center */
  justify-content: center;     /* horizontal center */
  color: #c4884d;                /* text color */
  font-size: 14px;           
}


.card-content .item:last-child {
  margin-bottom: 0;
}

.card-content .total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-top: 14px; */
  padding-top: 10px;
  border-top: 2px dashed #e5e7eb;
}

.card-content .total strong:first-child {
  font-size: 14px;
  color: #374151;
  letter-spacing: 0.5px;
}

.card-content .total strong:last-child {
  font-size: 16px;
  color: #16a34a;
  font-weight: 700;
}

.card-content .total {
  background: #f0fdf4;
  padding: 10px 0px;
  border-radius: 8px;
}

.card-content .total strong:last-child {
  color: #15803d;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* padding: 6px 14px; */
  /* border: 1px solid #ddd; */
  /* border-radius: 6px; */
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #000;
  /* background: #fff; */
  /* margin-left: 35px; */
  /* margin-top: 2px; */
  float: inline-end;
}

.date-badge img {
  width: 22px;
  height: 22px;
}

.date-badge h4{
  width: 100%;
  float: left;
  text-align: right;
  margin-top: 5px;
  color:#a9641f
}



.infochart{
  margin-top: 10px;
  color:#4e4e4b;
}

.infochartad{
  border-top:1px solid #dcd9d4;
  padding-top:15px;
  width: fit-content;
}
.infochart .label{
  color: ae8961;
  width: 100%;
  display: block;
  font-size: large;
  font-weight: 600;
}

.infochart .value{
  margin-top: 5px;
  width: 100%;
  display: block;
  font-size: x-large;
}

.infochart .value small{
  display: contents;
  float: left;
  font-size: smaller;
}

.wppilihdata{
  text-align: right;
}

.wppilihdata button{
  padding: 5px 8px;
  border:none;
  font-size: smaller;
  color:#a9641f;
  background: #fff;
}

.wppilihdata .dpaktiv{
  border:1px solid #a9641f;
  border-radius:15px;
  color:#a9641f;
}

.chart-box{
  width:100%;
  height:160px; /* bebas ubah */
}

.carssss{
            /* display: flex;  Membuat anak-anak <div> berjajar horizontal */
  overflow-x: auto;        /* Aktifkan scroll horizontal */
  white-space: nowrap;     /* Memastikan anak tidak membungkus ke baris baru */
  border: 1px solid #ccc;  /* Hanya untuk melihat batas div */
  padding: 10px;
}

.jikkkio{
  text-align: center;
}


.now-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 8.5px 12px;;
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 15px rgb(0 0 0 / 0.07);
  border: 1px #e8e5dd solid;
}

.now-title {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: bold;
}

.now-date {
  font-weight: 200;
  margin: 0 0 4px;
  font-size: 14px;
  color:#5c2e00;
  font-weight: bold;
}

.now-desc {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.now-right {
  background: #fdeee2;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.now-label {
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.now-number {
  font-size: 28px;
  font-weight: bold;
}

/* Kalori */
.now-calories .now-right {
  background: transparent;
  padding: 0;
}

.now-big {
  font-size: 26px;
  font-weight: normal;
  margin: 0;
}

.now-big span {
  font-size: 16px;
  font-weight: normal;
}

.now-btn {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #a9641f;
  border-radius: 20px;
  text-decoration: none;
  color: #5c2e00;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: bold;
}

a.now-btn:hover{
  background: #8e4200;
  color:white;
}

.adabtndaftar{
  background:#ffffff;font-weight: normal;
}

.tdkbtndaftar{
  background:#ffffff;font-weight: normal;
  border-color:#b7b7b7;
  cursor: none;
}

.sisajkuota{
  background: white;
  padding: 4px 12px;
  color: #552a00;
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-block;
  border-radius: 20px;
  font-weight: normal;
  font-size: 13px;
  border:1px solid #facfa9;
}


.now-percent {
  color: #a9641f;
  margin: 0;
  font-size: 16px;
}

.now-align-right {
  text-align: right;
}





.calorie-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #fefaf5;
  border-radius: 10px;
  width: 95%;
  margin: 20px auto 0 auto;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  border: 1px #e1c09f solid;
}

/* ===== LEFT INFO ===== */
.calorie-info {
  min-width: 200px;
}

.title {
  font-size: 24px;
  margin-bottom: 24px;
}

.info-block {
  margin-bottom: 15px;
  display: block;
  width: 100%;
}

.info-block .label {
  color: #c06b00;
  font-size: 14px;
  display: block;
  width: 100%;
  margin-bottom:10px;
  font-weight: bold;
}

.info-block .value {
  font-size: 30px;
  font-weight: bold;
  color:#4c4c4c;
}

.divider {
  height: 1px;
  background: #ddd;
  margin: 16px 0;
}

/* ===== RIGHT CHART ===== */
.calorie-chart-wrapper {
  flex: 1;
}

.chart-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.tab {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #fbf6f6;
  background: #fff;
  color:#878787;
  cursor: pointer;
}

.tab.active {
  background: #ffffff;
  color: #e49a51;
  border: 1px solid #e49a51;
}

.date-select {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 6px;
  background:#ffffff;
  border:1px #9c9c9c solid
}

/* ===== CHART ===== */
.chart-area {
  position: relative;
}

.calorie-chart {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  height: 180px;
  padding-top: 24px;
  border: 2px solid #d3af8b;
  border-top: none;
  border-right: none;
  padding: 10px 20px 0px 20px;
}

.beratbadan{
  gap: 15px;
}

.day {
  width: 44px;
  text-align: center;
}

.daybb{
  width: 30px;
  text-align: center;
}

.bar {
  /* height: 180px;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 12px 12px 0px 0px; */

  position: relative;   /* WAJIB */
  height: 180px;
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 12px 12px 0px 0px; 
}

.segment {
  width: 100%;
}

/* COLORS */
.pagi { background:#7CB342; }
.snack-pagi { background:#F07C54; }
.siang { background:#FFD166; }
.snack-sore { background:#9AD0D3; }
.malam { background:#CFE9F3; }

.day-label {
  margin-top: 6px;
  font-size: 14px;
  display: inline;
  position: absolute;
  margin-left: -21px;
  width: 100%;
}

/* TARGET LINE */
.target-line {
  position: absolute;
  left: -15px;
  right: 0;
  border-top: 2px dashed #d4b089;
}

.target-linenum {
  /* position: absolute;
  left: -5px;
  right: 0;
  border-top: 1px solid #e2e1d9; */
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed #ccc;
}

.target-linenum span{
  position: absolute;
  left: -35px;
  top: -10px;
  font-size: 12px;
  color: #4c4c4c;

}

.target-line span {
  position: absolute;
  left: -40px;
  top: -40px;
  font-size: 12px;
  color: #4c4c4c;
  padding: 6px 10px;
  background: white;
  /* border: 1px solid #a9641f; */
  border-radius: 10px;
  padding: 5px;
  text-align: center;
  color: blue;
}

/* ===== LEGEND ===== */
.chart-legend {
  /* display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 13px; */
display: flex;
gap: 20px;
flex-wrap: wrap;
margin-top: 30px;
font-size: 13px;
justify-content: end; /* ini memastikan item rata kiri horizontal */
align-items: flex-start;     /* ini memastikan item rata atas (vertikal) jika tinggi berbeda */
text-align: left;    
}

.chart-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .calorie-card {
    flex-direction: column;
  }

  .calorie-chart {
    gap: 14px;
  }

  .day {
    width: 32px;
  }

  .value {
    font-size: 26px;
  }

  .title {
    font-size: 20px;
  }
}

.btnbtld{
  position: relative;
  z-index: 999;
  cursor: pointer;
}




#modal-asupan{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.6);
  display:flex;
  justify-content:center;
  align-items:center;
  font-family: sans-serif;
}

.asupan-container{
  width:600px;
  background:#fff;
  border-radius:12px;
  padding:25px;
  background:
}

.asupan-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.asupan-close{
  cursor:pointer;
  font-size:22px;
}

.asupan-date{
  background:#fff6ee;
  display:inline-block;
  padding:10px 12px;
  border-radius:8px;
  margin:10px 0 20px;
  color:#b47639;
  font-size: 14px;
  font-weight: 600;
  border:1px solid #fbeee0;
}

.asupan-row{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.asupan-select,
.asupan-time,
.asupan-item input,
.asupan-note{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #ddd;
  background: #f8f8f8;
  height: fit-content;
}

.asupan-table-header{
  display:grid;
  grid-template-columns: 3fr 4fr 2fr 1fr 1fr ;
  font-weight:bold;
  margin-bottom:8px;
}

.asupan-item{
  display: grid;
  grid-template-columns: 3fr 4fr 2fr 1fr 1fr ;
  gap: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  border-top:1px solid #cbcbcb;
}


.bi-trash-fill{
  color:#a9641f;
}

.asupan-gram{
  display:flex;
  align-items:center;
  gap:5px;
  height: fit-content;
}

.asupan-porsi{
  display:flex;
  align-items:center;
  gap:8px;
  height: fit-content;
}

.asupan-del{
  gap:8px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  user-select:none;
  padding-left: 10px;
  height: fit-content;
  padding-top: 10px;
}

.asupan-porsi button{
  width:30px;
  height:30px;
  border:none;
  background:#eee;
  border-radius:6px;
  cursor:pointer;
}

.asupan-add{
  margin:15px 0;
  padding:10px;
  border:none;
  background:#d7a46c;
  color:#643607;
  border-radius:8px;
  cursor:pointer;
  font-size: 16px;
}

.asupan-note{
  height:80px;
  resize:none;
  margin-bottom:20px;
  background: #e9e9e9;
}

.asupan-submit{
  padding: 12px;
  background: #4c9a2a;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.asupan-container label{
  width: 100%;
  padding-bottom: 10px;
  display: block;
  font-weight: bold;
}


/* modal mobile friendly */
#modal-asupan{
  padding:15px;
}

/* container fleksibel */
.asupan-container{
  width:100%;
  max-width:600px;
  max-height:90vh;
  overflow-y:auto;
}


#modal-aktivitas{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.6);
  display:flex;
  justify-content:center;
  align-items:center;
  font-family: sans-serif;
}

.aktivitas-container{
  width:600px;
  background:#fff;
  border-radius:12px;
  padding:25px;
  background:
}

.aktivitas-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.aktivitas-close{
  cursor:pointer;
  font-size:22px;
}

.aktivitas-date{
  background:#fff6ee;
  display:inline-block;
  padding:10px 12px;
  border-radius:8px;
  margin:10px 0 20px;
  color:#b47639;
  font-size: 14px;
  font-weight: 600;
  border:1px solid #fbeee0;
}

.aktivitas-row{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.aktivitas-select,
.aktivitas-time,
.aktivitas-item input,
.aktivitas-note{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #ddd;
  background: #f8f8f8;
  height: fit-content;
}

.aktivitas-table-header{
  display:grid;
  grid-template-columns: 3fr 3fr 2.5fr 1.2fr 0.5fr;
  font-weight:bold;
  margin-bottom:8px;
}

.aktivitas-item{
  display: grid;
  grid-template-columns: 3fr 3fr 2.5fr 1.2fr 0.5fr;
  gap: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  border-top:1px solid #cbcbcb;
}


ul.hasil-ak-namaaktivitas{
  /* padding: 8px;
  list-style: none; */
  padding: 8px;
  list-style: none;
  margin-left: -170px;
  margin-right: -15px;
  width: calc(100% + 430px);
}
ul.hasil-ak-namaaktivitas li.sug-item{
  padding: 6px 0px;
  border-bottom: 1px solid #b7b7b7;
}


.bi-trash-fill{
  color:#a9641f;
}

.aktivitas-gram{
  display:flex;
  align-items:center;
  gap:5px;
  height: fit-content;
}

.aktivitas-porsi{
  display:flex;
  align-items:center;
  gap:8px;
}

.aktivitas-del{
  gap:8px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  user-select:none;
  padding-left: 10px;
  height: fit-content;
  padding-top: 10px;
}

.aktivitas-porsi button{
  width:30px;
  height:30px;
  border:none;
  background:#eee;
  border-radius:6px;
  cursor:pointer;
}

.aktivitas-add{
  margin:15px 0;
  padding:10px;
  border:none;
  background:#d7a46c;
  color:#643607;
  border-radius:8px;
  cursor:pointer;
  font-size: 16px;
}

.aktivitas-note{
  height:80px;
  resize:none;
  margin-bottom:20px;
  background: #e9e9e9;
}

.aktivitas-submit{
  /* width:100%;
  padding:12px;
  background:#4c9a2a;
  color:white;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer; */

  padding: 12px;
  background: #4c9a2a;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.aktivitas-container label{
  width: 100%;
  padding-bottom: 10px;
  display: block;
  font-weight: bold;
}


/* modal mobile friendly */
#modal-aktivitas{
  padding:15px;
}

/* container fleksibel */
.aktivitas-container{
  width:100%;
  max-width:600px;
  max-height:90vh;
  overflow-y:auto;
}

/* tablet */
@media(max-width:768px){
  .aktivitas-container,
  .asupan-container{
    padding:18px;
    border-radius:10px;
  }
  .aktivitas-row,
  .asupan-row{
    flex-direction:column;
  }
  .aktivitas-table-header,
  .asupan-table-header{
    display:none; /* header hilang biar gak sempit */
  }
  .aktivitas-item,
  .asupan-item{
    grid-template-columns:1fr;
    background:#fafafa;
    padding:12px;
    border-radius:10px;
  }
  .aktivitas-gram,
  .asupan-gram{
    justify-content:space-between;
  }
  .aktivitas-porsi,
  .asupan-porsi{
    justify-content:flex-end;
  }

}

/* HP kecil */
@media(max-width:480px){
  .aktivitas-container,
  .asupan-container{
    padding:15px;
  }

  h2{
    font-size:18px;
  }
  .aktivitas-date,
  .asupan-date{
    font-size:13px;
  }

  input,
  select,
  textarea{
    font-size:16px; /* penting biar gak zoom di iPhone */
  }
  .aktivitas-submit,
  .asupan-submit{
    padding:14px;
    font-size:16px;
  }

}
@media(max-width:768px){
  #aktivitas-asupan,
  #modal-asupan{
    align-items:flex-end;
  }
  .aktivitas-container,
  .asupan-container{
    border-radius:20px 20px 0 0;
    animation:slideUp .3s ease;
  }

  @keyframes slideUp{
    from{
      transform:translateY(100%);
    }
    to{
      transform:translateY(0);
    }
  }

}

ul.hasil-as-asupan{
  /* padding: 8px;
  list-style: none; */
  padding: 8px;
  list-style: none;
  margin-left: -150px;
  margin-right: -15px;
  width: calc(100% + 370px);
}
ul.hasil-as-asupan li.sug-item2{
  padding: 6px 0px;
  border-bottom: 1px solid #b7b7b7;
}

a.btwmore{
  background: #ce7115;
  font-size: smaller;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  color: white;
  border: 1px solid white;
}

.riwayat-container {
  max-width: 500px;
  margin: 30px auto;
  /* padding: 20px; */
}

.riwayat-title {
  font-size: 18px;
  padding-bottom: 15px;
}

.riwayat-bulan {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.riwayat-line {
  width: 4px;
  height: 20px;
  background-color: #c07b2c;
  border-radius: 2px;
}

.riwayat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 15px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.riwayat-text {
  font-weight: 500;
  color: #444;
}

.riwayat-btn-download {
  background-color: #c07b2c;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.riwayat-btn-download:hover {
  opacity: 0.9;
}

.riwayat-btn-lihat {
  width: auto;
  background-color: #ce7115;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.riwayat-btn-lihat:hover {
  opacity: 0.9;
}



.riwayat2-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

/* TAB */
.riwayat2-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.riwayat2-tab {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #b4b4b4;
  background: #fffcf6;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  color: #878787;
}

.riwayat2-tab.active {
  background: #fff3e6;
  border: 1px solid #a9641f;
  color: #a9641f;
  background-image: url("../img/wellness/icon.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-color: white;
}

/* TITLE */
.riwayat2-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* BULAN */
.riwayat2-bulan {
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0px;
  border-left: 4px solid #d08b3e;
  padding-left: 10px;
}

/* LIST */
.riwayat2-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 2px solid #d0d0d0;
}

.riwayat2-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  transition: 0.3s;
  border:1px solid #d2d2d2;
}

.riwayat2-item:hover {
  background: #ececec;
}

.riwayat2-text {
  font-size: 16px;
  font-weight: 500;
}

.riwayat2-btn {
  background: #c58542;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.riwayat2-btn:hover {
  background: #a66a30;
}

/* ======================
   📱 RESPONSIVE MOBILE
====================== */
@media (max-width: 768px) {

  .riwayat2-title {
    font-size: 20px;
  }

  .riwayat2-bulan {
    font-size: 16px;
  }

  .riwayat2-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
  }

  .riwayat2-text {
    font-size: 14px;
  }

  .riwayat2-btn {
    width: 100%;
    text-align: center;
  }

  .riwayat2-tabs {
    gap: 10px;
  }

  .riwayat2-tab {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 8px;
  }
}

.icondowm{
  color: white;font-size: initial;padding-right: 5px;
}

.menussss-wrapper {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
  flex-wrap: wrap;

}

.menussss-item {
  position: relative;
}

.menussss-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px;
  border-radius: 14px;
  border: 1.5px solid #cfcfcf;
  background: #fbfbfb;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  min-width: 200px;
  transition: 0.3s;
}

/* Hover effect */
.menussss-select:hover {
  border-color: #c37b32;
}

/* Custom arrow */
.menussss-item::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 40%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #555;
  pointer-events: none;
}

.dataall{
  background: white;
  position: absolute;
  top: 90%;
  transform: translate(-50%, -50%);
  border: 1px solid gray;
  font-size: 12px;
  padding: 5px;
  border-radius: 10px;
}



.menussss-tooltip{
  position: relative;
  cursor: pointer;
}

/* kotak tooltip */
.menussss-tooltip .menussss-tooltiptext{
  visibility: hidden;
  background: #d7a876;
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.3s;
}

/* panah tooltip */
.menussss-tooltip .menussss-tooltiptext::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: #d7a876 transparent transparent transparent;
}

/* muncul saat hover */
.menussss-tooltip:hover .menussss-tooltiptext{
  visibility: visible;
  opacity: 1;
}

