/* General Styles */
body {
   font-family: Arial, Helvetica, sans-serif;
   margin: 0;
   padding: 0;
   background: url(https://studiointermedia.com/images/2025/03/05/background-rt88.webp);
   background-position: center;
   background-size: inherit;
   color: #333;
   transition: opacity ease-in 0.2s;
}

header {
   z-index: 1;
   background-color: #31343530;
   padding-top: 10px;
   padding-bottom: 10px;
   position: fixed;
   color: white;
   backdrop-filter: blur(2px);
   width: 100%;
   border-bottom: 1px solid #182d69b3;
}

.flex{
  max-width: 1200px;
  display: flex;
  margin: auto;
  align-items: center;
justify-content: center;
}

.flex .menu{
  text-align: center;
}

.flex div{
  width:100%;
  padding: 0px 20px; 
}

.login{
  text-align: end;
}

.img-wrap img{
  width: 40%;
  }

header .logo h1 {
   margin: 0;
   font-size: 2rem;
}

main {
   padding: 20px;
   max-width: 1200px;
   margin: 0 auto;
  padding-top: 3rem;
}



/* Pasaran Grid */
.pasaran-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 20px;
}

.pasaran-card {
  background-color: #12172b;
  padding: 20px;
  padding-top: 10px;
  padding-bottom: 15px;
  border-radius: 12px;
  box-shadow: 7px 7px 0 #000000b0;
  transition: transform 0.3s, box-shadow 0.3s;
}


.pasaran-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.pasaran-card h2 {
  font-size: 1.75rem;
  color: #2a98e9;
  margin: 0;
}

.countdown {
   font-size: 1.2rem;
   color: #3ce74b;
   font-weight: bold;
   margin: 0;
}

.status {
   font-size: 1rem;
   color: #555;
}

.status-text {
   font-weight: bold;
   color: #3498db;
}

/* Result Section */
.result-section {
  background-color: #0098cb;
  backdrop-filter: blur(3px);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  margin-top: 20px;
}

/* Search Input */
/* #search {
   width: 100%;
   padding: 12px;
   margin-bottom: 20px;
   border: 1px solid #ddd;
   border-radius: 5px;
   font-size: 1rem;
   box-sizing: border-box;
} */

/* Result Grid */
.result-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: 20px;
   margin-bottom: 20px;
}

.result-item {
   background: #202425;
   padding: 15px;
   border-radius: 10px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s, box-shadow 0.3s;
}

.result-item:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.result-item h3 {
   margin: 0 0 10px 0;
   font-size: 1.3rem;
   color: #34495e;
   border-bottom: 1px solid #eee;
   padding-bottom: 5px;
}

.result-item p {
   margin: 5px 0;
   color: #b9b8b8;
}

/* Pagination */
.pagination {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 10px;
   margin-top: 20px;
}

.pagination button {
   padding: 8px 16px;
   border: none;
   border-radius: 5px;
   background-color: #1d1e22;
   color: white;
   cursor: pointer;
   font-size: 1rem;
   transition: background-color 0.3s;
}

.pagination button:hover:not(:disabled) {
   background-color: #1d1e22;
}

.pagination button:disabled {
   background-color: #aaa2;
   cursor: not-allowed;
}

#page-numbers button {
   padding: 8px 12px;
   min-width: 40px;
   border: none;
   border-radius: 5px;
   background-color: rgb(155 1 1 / 94%);
   color: #fff;
   cursor: pointer;
}

#page-numbers button.active {
   background-color: #003affba;
}

#page-numbers span {
   padding: 8px 12px;
   display: inline-block;
}

/* Notification */
.notification {
   position: fixed;
   bottom: 20px;
   right: 20px;
   background: #2ecc71;
   color: white;
   padding: 15px 25px;
   border-radius: 5px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   z-index: 1000;
   transition: opacity 0.5s;
}

.fade-out {
   opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
   .result-grid {
       grid-template-columns: 1fr;
   }

   .pasaran-grid {
       grid-template-columns: 1fr;
   }

   .result-item {
       border: 1px solid #e0e0e0;
       border-radius: 8px;
       padding: 15px;
       margin-bottom: 15px;
       background-color: rgba(255, 255, 255, 0.9);
   }
}

@media (max-width: 480px) {
   .notification {
     width: 100%;
     left: 0;
     right: 0;
     text-align: center;
   }
   .button{
  --fs-size: 0.8em !important;
   }
   .img-wrap img {
     width: 100%;
   }
  h2{
     font-size: 20px!important;
  }
  .input-field{
     font-size: 14px !important;
  }
}

.title-section{
  color: #fff900;
  margin-bottom: 10px;
  font-weight: 600;
  margin-top: 0;
}

.card {
  background-color: rgba(217, 217, 217, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  margin-bottom: 1rem;
  }
  
  .terminal-header {
  background-color: #12172b;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  }
  
  .terminal-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  }
  
  
  
  .terminal-body {
  background-color: #12172b;
  color: #ffffff;
  padding: 15px;
  border: #0045ffcf 1px solid;
  border-radius: 3px;
  }
  
  .command-line {
  display: flex;
  align-items: center;
  }
  
  .prompt {
  color: #ffffff;
  margin-right: 10px;
  }
  
  .input-wrapper {
  position: relative;
  flex-grow: 1;
  }
  
  .input-field {
  background-color: transparent;
  border: none;
  color: #34dc00;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  outline: none;
  width: 100%;
  padding-right: 10px;
  }
  
  .input-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
  }
  
  .input-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 15px;
  background-color: #ffffff;
  animation: blink 1s step-end infinite;
  }
  
  @keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  }
  

  /* card */
.code-editor {
  width: 100%;
  height: fit-content;
  background-color: #12172b;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}
  
  .header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  margin-bottom:0;
  }
  .h2-card{
     margin-top: 2px;
     padding-left: 0.6rem;
     text-align: start;
     color: #ffee00fa;
     margin-bottom: 5px;
     }
  .date-card{
  color:#fffa;
  }
  .code p{
  margin-bottom: 4px;
   margin-top: 4px;
  }
  .title-card {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 1.57px;
  color: rgb(36 183 255 / 83%);
  }
  
  .icon {
  width: 20px;
  transition: .2s ease;
  }
  
  .icon:hover {
  cursor: pointer;
  border-radius: 50px;
  background-color: #6e7281;
  }
  
  .editor-content {
  margin: 0 10px 10px;
  color: white;
  border-radius: 10px;
  background:#aaa2;
  padding:0.8rem;
  }
  
  .property {
  margin-top: 0;
  margin-left: 30px;
  margin-bottom: 3px;
  }
  
  .property:hover {
  cursor: text;
  }
  
  .editor-content .color-0 {
  color: rgb(77 255 92);
  }
  
  .editor-content .color-1 {
  color: rgb(182 206 168);
  }
  
  .editor-content .color-2 {
  color: rgb(117 207 255);
  }
  
  .editor-content .color-3 {
  color: rgb(207 146 120);
  }
  
  .color-preview-1,.color-preview-2 {
  height: 8px;
  width: 8px;
  border: 1px solid #fff;
  display: inline-block;
  margin-right: 3px;
  }
  
  .color-preview-1 {
  background-color: #1d1e22;
  }
  
  .color-preview-1 {
  background-color: rgba(0, 0, 0, 0.5);
  }

  




.button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  }
  
  
  .button {
  padding-top: 0px; 
   --border-right: 6px;
   --text-stroke-color:rgb(255 255 255 / 90%);
   --animation-color: #37FF8B;
   --fs-size: 1.4em;
   letter-spacing: 2px;
   text-decoration: none;
   font-size: var(--fs-size);
   position: relative;
   text-transform: uppercase;
   color: transparent;
   -webkit-text-stroke: 1px var(--text-stroke-color);
  }
  /* this is the text, when you hover on button */
  .hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: #3773ff;
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid #3745ff;
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px #3763ff;
  }
  /* hover */
  .button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color))
  }



  .read-more-state {
  display: none;
  }

  .hidden{
  display: none;
  }
  
  /* .read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
  } */
  
  /* .read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
  max-height: 999em;
  } */
  
  /* .read-more-state ~ .read-more-trigger:before {
  content: 'TAMPILKAN PASARAN LAINNYA';
  }
  
  .read-more-state:checked ~ .read-more-trigger:before {
  content: 'SEMBUNYIKAN PASARAN LAINNYA';
  } */
  
  .read-more-trigger {
  text-align: center;
  cursor: pointer;
  display: block;
  padding: 0 .5em;
  color: #ffffffd4;
  font-size: .9em;
  line-height: 2;
  border: 1px solid #492bff;
  border-radius: .25em;
  margin: auto;
  margin-top: 1.3rem;
  width: fit-content;
  text-transform: uppercase;
  font-weight: bold;
  }
  
  