/* Custom modal styles for Request Demo */
.custom-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 34, 47, 0.85);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  transition: opacity 0.2s;
}
.custom-modal-dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(30,34,47,0.18);
  max-width: 480px;
  width: 95vw;
  margin: 40px 0;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPopIn 0.25s cubic-bezier(.4,2,.6,1) 1;
}
@keyframes modalPopIn {
  0% { transform: scale(0.95) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.custom-modal-content {
  position: relative;
  padding: 2.5rem 2rem 2rem 2rem;
  overflow-y: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.custom-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f5f6fa;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  color: #1e222f;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,34,47,0.08);
  transition: background 0.2s;
  z-index: 2;
}
.custom-modal-close:hover {
  background: #e0e3ed;
}
.custom-modal-body {
  width: 100%;
  overflow-y: auto;
  max-height: 70vh;
  padding-top: 1.5rem;
}
@media (max-width: 600px) {
  .custom-modal-dialog {
    max-width: 98vw;
    padding: 0;
    border-radius: 10px;
  }
  .custom-modal-content {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
}
