/* Warning Modal Styles */
.warning-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  font-family: Arial, sans-serif;
}

.warning-modal-content {
  background-color: #fff;
  margin: 50px auto;
  max-width: 800px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.warning-modal-header {
  background-color: #fff3cd;
  padding: 15px 20px;
  border-bottom: 1px solid #ffeeba;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.warning-modal-header h2 {
  margin: 0;
  color: #856404;
  font-size: 20px;
  font-weight: bold;
}

.warning-modal-body {
  padding: 20px;
  background-color: #fff3cd;
  color: #856404;
  max-height: 70vh;
  overflow-y: auto;
}

.warning-modal-body p {
  margin-bottom: 15px;
}

.warning-modal-body h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.warning-modal-body ul {
  margin-left: 20px;
  margin-bottom: 15px;
  padding-left: 0;
  list-style-position: inside;
}

.warning-modal-body a {
  color: #0056b3;
  text-decoration: none;
}

.warning-modal-body a:hover {
  text-decoration: underline;
}

.warning-modal-footer {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.acknowledge-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.acknowledge-btn:hover {
  background-color: #0069d9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .warning-modal-content {
    width: 95%;
    margin: 20px auto;
  }
  
  .warning-modal-body {
    max-height: 60vh;
  }
  
  .warning-modal-header h2 {
    font-size: 18px;
  }
}