/* css/custom.css */

/* Custom Modal Styles */
.modal-dialog.modal-lg {
  max-width: 860px; /* A good width for legal text */
}

.modal-content {
  border-radius: 12px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid #dee2e6;
  padding: 1.5rem 2rem;
}

.modal-title {
  font-weight: 600;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
  max-height: 100vh; /* Makes long content scrollable */
  overflow-y: auto;
}

/* Darken the background overlay a bit more */
.modal-backdrop.show {
  opacity: 0.7;
}

/* --- New Notification Styles for Modals --- */
.tester-notification {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  color: #fff;
  text-align: center;
  font-weight: 500;
  z-index: 10;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  opacity: 0;
  transform: translateY(-100%);
  animation: slideDownFadeIn 0.5s ease-out forwards;
}

.tester-notification.success {
  background-color: #28a745; /* Green */
}

.tester-notification.error {
  background-color: #dc3545; /* Red */
}

@keyframes slideDownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}