/* stack quiz options */
.option-label {
  display: block;
  margin: 6px 0;
}

.fill-input {
  display: block;
  margin-top: 6px;
  padding: 6px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* optional pagination style */
.pagination-controls {
  margin-top: 10px;
  text-align: center;
}
.pagination-controls button {
  margin: 0 5px;
  padding: 4px 10px;
  cursor: pointer;
}
/*modal*/
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
}
.close {
  float: right;
  cursor: pointer;
  font-size: 20px;
}
/*Mark Lesson */
.popup-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.popup-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}
/*ADS*/
.back-and-ads {
  display: flex;
  flex-direction: column;
  position: relative;
  left: 15px;
  /*align-items: center;
  justify-content: center;*/
  max-width: 400px; /* Prevents ads to be wider than button*/
  width: 100%;
}
.back-and-ads .back-button {
  position: sticky;
  top: 0;
  z-index: 99;
  display: block;
  width: 100%;
  max-width: 280px;
  text-align: center;
  padding: 12px 20px;
  background-color: #ff4d4d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 15px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.back-and-ads .back-button:hover {
  background-color: #e63939;
}
/* Ad block styling */
.back-and-ads .ads {
  display: block;
  width: 100%;
  max-width: 280px; /* Matches button width */
  min-height: 80px;
  text-align: center;
  border: 1px solid #ccc;
  padding: 5px;
  margin-left: 10px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}
/* Make ads responsive */
.back-and-ads .ads ins.adsbygoogle {
  display: block !important;
  margin: 0 auto;
  width: 100% !important;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
  .back-and-ads {
    max-width: 95%;
    padding: 0 10px; /* optional: center it with some side padding on very narrow screens */
  }
  .back-and-ads .back-button,
  .back-and-ads .ads {
    max-width: 100%;
  }
  /* Make ad container full-width rectangle on mobile */
  .back-and-ads .ads {
    max-width: 100%; /* Let it span the full width of its parent */
    height: 110px; /* give it a taller rectangle shape */
    margin-left: 0; /* remove side margine so it centers */
    border-radius: 0; /* optional: squared corners on mobile */
  }
}
.guest-certificate p a {
  color: "blue";
}
