/* Modal Styles for Info Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: var(--primary-color, #004080);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 4px solid var(--accent-color, #FCD116);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-body {
  padding: 2rem;
  color: var(--text-dark, #333);
  line-height: 1.6;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body strong {
  color: var(--primary-color, #004080);
}

.modal-body .highlight-box {
  background-color: rgba(252, 209, 22, 0.1);
  border-left: 4px solid var(--accent-color, #FCD116);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

.modal-body .signature {
  margin-top: 1.5rem;
  text-align: right;
  font-weight: bold;
  color: var(--primary-dark, #002d5a);
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.modal-footer {
  padding: 0 2rem 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

.modal-footer button {
  background: var(--secondary-color, #009E60);
  color: #fff;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 158, 96, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-footer button:hover {
  background: var(--secondary-dark, #007A50);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 158, 96, 0.4);
}

.modal-footer button:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
  
  .modal-body {
    padding: 1.5rem;
    font-size: 0.95rem;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
}
