
        /* Small custom styles */
        .modal {
            @apply fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-70 backdrop-blur-sm transition-opacity duration-300;
        }

        .modal-content {
            @apply bg-white rounded-lg shadow-xl p-6 md:p-8 w-11/12 max-w-3xl max-h-[90vh] overflow-y-auto transition-transform duration-300 scale-95;
        }

        .modal.open {
            @apply opacity-100 pointer-events-auto;
        }

        .modal.open .modal-content {
            @apply scale-100;
        }

        .modal.closed {
            @apply opacity-0 pointer-events-none;
        }

        /* ===========================
   Global Modal Styles
=========================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(17, 24, 39, 0.65); /* dark semi-transparent overlay */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  backdrop-filter: blur(3px);
}

/* When modal is active */
.modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* When modal is closed (default) */
.modal.closed {
  opacity: 0;
  pointer-events: none;
}

/* ===========================
   Modal Content
=========================== */
.modal-content {
  background-color: #ffffff;
  border-radius: 0.75rem; /* rounded-lg */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

/* Animate modal content when open */
.modal.open .modal-content {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar styling for long content */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 9999px;
}

/* ===========================
   Close Button
=========================== */
.modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #6b7280; /* gray-500 */
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #111827; /* darker on hover */
}

/* ===========================
   Typography & Layout
=========================== */
.modal-content h2 {
  color: #1f2937; /* dark-800 */
  margin-bottom: 1.25rem;
  text-align: left;
}

.modal-content h3 {
  color: #111827;
  margin-top: 1.5rem;
  font-size: 1.125rem;
}

.modal-content p,
.modal-content li {
  color: #4b5563; /* gray-600 */
  line-height: 1.6;
  font-size: 1rem;
}

.modal-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

/* ===========================
   Newsletter Modal Special
=========================== */
#newsletter-modal .modal-content {
  max-width: 500px;
  text-align: left;
}

#newsletter-modal input[type="text"],
#newsletter-modal input[type="email"],
#newsletter-modal input[type="date"] {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#newsletter-modal input:focus {
  border-color: #ff2078; /* primary-500 */
  box-shadow: 0 0 0 2px rgba(244, 125, 16, 0.25);
  outline: none;
}

#newsletter-modal button[type="submit"] {
  background-color: #ff2078; /* primary-600 */
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

#newsletter-modal button[type="submit"]:hover {
  background-color: #3f8df2; /* primary-700 */
  transform: translateY(-1px);
}

#newsletter-success {
  margin-top: 1rem;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 640px) {
  .modal-content {
    padding: 1.5rem;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.75rem;
  }
}
