/* =========================================================================
   Outfox Health — Request Demo Modal styles
   -------------------------------------------------------------------------
   Drop-in stylesheet for demo-modal.html. Token colors inlined as hex for
   portability (matches the rest of the site palette):
     primary  #670042   accent  #EF6461   highlight #F9C46D
     cream    #FFF7E9   ink     #222      midnight  #0B192F
   ========================================================================= */

.demo-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; }
.demo-modal.open { display: flex; }
.demo-modal__backdrop { position: absolute; inset: 0; background: rgba(11,25,47,0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.demo-modal__dialog { position: relative; width: min(960px, 100%); height: min(720px, 90vh); background: #fff; border: 2px solid #222; border-radius: 10px; box-shadow: 14px 14px 0 0 #222; overflow: hidden; display: flex; flex-direction: column; animation: demoIn .22s ease-out; }
@keyframes demoIn { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.demo-modal__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 2px solid #222; background: #FFF7E9; font: 600 14px 'Rubik', sans-serif; color: #222; flex: 0 0 auto; }
.demo-modal__head .lights { display: flex; gap: 6px; }
.demo-modal__head .lights span { width: 10px; height: 10px; border-radius: 50%; background: #EF6461; border: 1px solid rgba(0,0,0,.2); }
.demo-modal__head .lights span:nth-child(2) { background: #F9C46D; }
.demo-modal__head .lights span:nth-child(3) { background: #9A0063; }
.demo-modal__title { margin-left: 4px; }
.demo-modal__close { margin-left: auto; background: #fff; border: 2px solid #222; border-radius: 6px; width: 32px; height: 32px; cursor: pointer; font: 600 16px 'Rubik', sans-serif; color: #222; display: inline-flex; align-items: center; justify-content: center; box-shadow: 2px 2px 0 0 #222; transition: transform .1s; }
.demo-modal__close:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 0 #222; }
.demo-modal__body { flex: 1; min-height: 0; overflow: auto; background: #fff; }
.demo-modal__body .meetings-iframe-container { min-height: 100%; }
.demo-modal__body .meetings-iframe-container iframe { width: 100% !important; min-height: 640px; border: 0; display: block; }
body.demo-open { overflow: hidden; }

@media (max-width: 640px) {
  .demo-modal { padding: 0; }
  .demo-modal__dialog { height: 100vh; height: 100dvh; width: 100%; max-width: 100%; border-radius: 0; border-width: 0; box-shadow: none; }
  .demo-modal__head { padding: 10px 12px; font-size: 13px; position: sticky; top: 0; z-index: 5; background: #FFF7E9; }
  .demo-modal__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  .demo-modal__close { width: 36px; height: 36px; flex-shrink: 0; font-size: 18px; }
  .demo-modal__body .meetings-iframe-container iframe { min-height: 560px; }
}
