/* Professional Maintenance Modal Styling */
#maintenance-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
  from { background: rgba(0, 0, 0, 0); }
  to   { background: rgba(0, 0, 0, 0.6); }
}

.maintenance-modal {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  animation: slideInModal 0.4s ease-out;
}

@keyframes slideInModal {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.maintenance-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #777;
  cursor: pointer;
  transition: color 0.2s ease;
}

.maintenance-close-btn:hover {
  color: #333;
}

.maintenance-content {
  margin-top: 10px;
  color: #333;
  line-height: 1.5;
}

.maintenance-content p {
  margin: 0.6em 0;
  font-size: 16px;
}

.maintenance-content p[dir="rtl"] {
  font-family: 'Tahoma', sans-serif;
}

@media (min-width: 768px) {
  .maintenance-modal {
    padding: 40px 30px;
  }
  .maintenance-content p {
    font-size: 18px;
  }
}