﻿/* Shared quick-create event modal */

.event-type-description-tooltip .tooltip-inner {
  white-space: pre-line;
}

#sharedQuickCreateModal .quick-create-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  color: #074ea3;
  font-size: 2rem;
}

#sharedQuickCreateModal .quick-create-scope {
  background-color: #eef6ff;
  border-color: #b8d5f5 !important;
}

#sharedQuickCreateModal .modal-content {
  max-height: calc(100vh - 3.5rem);
  max-height: calc(100dvh - 3.5rem);
}

#sharedQuickCreateModal .modal-content > form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

#sharedQuickCreateModal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

#sharedQuickCreateModal .modal-footer {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  #sharedQuickCreateModal .modal-content {
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
  }
}
