/* LazyExams maintenance — modal, bell, full page */

.le-maint-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f7faf7 0%, #eef5f0 40%, #f8f3e8 100%);
  font-family: "Segoe UI", system-ui, sans-serif;
  padding: 24px;
  box-sizing: border-box;
}

.le-maint-page-inner {
  width: min(920px, 100%);
  text-align: center;
}

.le-maint-card {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(40, 50, 40, 0.12);
  background: #fff;
}

.le-maint-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.le-maint-dates {
  position: absolute;
  /*
   * Text-only slot inside Maintenance.jpg's date pill
   * (calendar/clock + dashed rule stay in the JPG — do not cover them).
   * Tuned against 1774×887 art scaled into ~920px card.
   */
  right: 4.8%;
  bottom: 17%;
  width: 27%;
  height: 14%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0.5% 0 0;
  box-sizing: border-box;
  text-align: left;
  pointer-events: none;
  overflow: hidden;
}

.le-maint-dates-label {
  font-size: 12px;
  font-weight: 600;
  color: #5a5a5a;
  margin-bottom: 0.15em;
  line-height: 1.15;
}

.le-maint-dates-range {
  font-size: 19px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  white-space: pre-line;
  word-break: break-word;
  width: 100%;
}

.le-maint-page .le-maint-dates-label {
  /* Artwork already reads as a schedule box; keep range only on hard page */
  display: none;
}

.le-maint-foot {
  margin-top: 1.25rem;
  color: #556;
  font-size: 0.95rem;
}

/* Modal */
.le-maint-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(20, 28, 24, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  animation: leMaintFade 0.25s ease;
}

@keyframes leMaintFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.le-maint-modal {
  width: min(860px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 12px 12px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: leMaintPop 0.28s ease;
}

@keyframes leMaintPop {
  from { transform: translateY(12px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.le-maint-modal .le-maint-card {
  box-shadow: none;
}

.le-maint-close {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #2f6f4e;
  color: #fff;
}

.le-maint-close:hover {
  background: #265a40;
}

/* Soft bell after LazyFarm — important, not alarming */
.le-maint-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  margin-left: 4px;
  border-radius: 10px;
  border: 1px solid #c5ddd0;
  background: linear-gradient(180deg, #f4fbf6, #e8f5ee);
  color: #2f6f4e;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}

.le-maint-bell:hover {
  box-shadow: 0 2px 10px rgba(47, 111, 78, 0.2);
  transform: translateY(-1px);
}

.le-maint-bell svg {
  width: 18px;
  height: 18px;
}

.le-maint-bell-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d9b6a;
  box-shadow: 0 0 0 2px #e8f5ee;
}

@media (max-width: 700px) {
  .le-maint-dates {
    right: 4%;
    bottom: 16%;
    width: 29%;
    height: 15%;
  }

  .le-maint-dates-range {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .le-maint-dates-range {
    font-size: 11px;
  }
}

@media (min-width: 901px) {
  .le-maint-dates-range {
    font-size: 21px;
  }
}
