p {
    line-height: 1.3;
    text-align: justify;
}
li {
    line-height: 1.3;
}



  .sub-materi details {
    background-color: #e6f9e6;
    padding: 10px;
    border-left: 4px solid #4CAF50;
    border-radius: 5px;
    margin-top: 10px;
  }

  .tabel-skor-horizontal {
    border-collapse: collapse;
    margin-top: 10px;
    width: 100%;
  }

  .tabel-skor-horizontal th,
  .tabel-skor-horizontal td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
  }

  .tabel-skor-horizontal th {
    background-color: #f2f2f2;
  }

  .jawaban p {
    margin: 5px 0;
  }

.jawaban-terbaik {
  margin-top: 10px;
  padding: 10px;
  background-color: #f1f1f1;
  border-left: 4px solid #4CAF50;
  font-size: 0.95em;
}


.peringatan {
  background-color: #f8d7da; /* merah muda pastel, bukan pink mencolok */
  color: #721c24;            /* warna teks merah gelap untuk kontras */
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid #f5c6cb;
  margin: 10px 0;
  font-weight: bold;
}

.tips {
  background-color: #d4edda;  /* hijau muda pastel */
  color: #155724;             /* hijau gelap untuk teks */
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid #c3e6cb;
  margin: 10px 0;
  font-weight: normal;
}

/* Modal container */
.modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto;
  background-color: rgba(0,0,0,0.4); /* Black with opacity */
}

/* Modal content */
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 5px;
  animation: fadeIn 0.3s ease;
}

/* Close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.sub-materi details {
  background-color: #e6f9e6; /* hijau muda */
  padding: 10px;
  border-left: 4px solid #4CAF50;
  border-radius: 4px;
  margin-top: 10px;
}


/* Optional animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Button style (optional) */
button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #1565c0;
}
