/* =========================================================
FASTTRACK ONSITE NOTIFICATION — PLAY DESIGN
Layout:
[Banner Image]
[Title]
[Message]
[CTA Button]

Safe scope: #fasttrack-crm
========================================================= */

/* ---------- WRAPPER POSITION ---------- */

#fasttrack-crm .small-notifications-wrapper {
  align-items: flex-end !important;
  transform:translateY(60px);
}

@media (max-width: 700px) {
    #fasttrack-crm .small-notifications-wrapper {
        align-items: center !important;
    }
}

/* ---------- WRAPPER POSITION ---------- */

#fasttrack-crm .small-notifications-wrapper {
  align-items: flex-end !important;
}



/* ---------- CARD ---------- */

#fasttrack-crm .small-notifications-wrapper.pt-10 
.notification-small.ft-notification-type-message {

  width:100% !important;
  max-width:360px !important;
  min-width:0 !important;

  padding:0 !important;
  margin:10px !important;

  background:#2b2f39 !important;
  border-radius:16px !important;
  overflow:hidden !important;

  border: 2px solid #cffdff !important;

  box-shadow:inset 0px 0px 5px #01eff9, 0px 0px 5px #01eff9, 0px 0px 10px rgba(0, 0, 0, 0.5) !important;

  font-family:'Montserrat',sans-serif !important;

  display:flex !important;
  flex-direction:column !important;
}



/* ---------- CLOSE BUTTON ---------- */

#fasttrack-crm .notification-small.ft-notification-type-message .close-btn{

  position:absolute !important;
  top:12px !important;
  right:12px !important;

  width:28px !important;
  height:28px !important;

  background:#ffffff !important;
  border-radius:999px !important;

  box-shadow:0 8px 18px rgba(0,0,0,0.25) !important;

  z-index:10 !important;
  cursor:pointer !important;
}


/* Draw X */

#fasttrack-crm .notification-small.ft-notification-type-message .close-btn:before,
#fasttrack-crm .notification-small.ft-notification-type-message .close-btn:after{

  content:"";
  position:absolute;

  top:7px;
  left:13px;

  width:2px;
  height:14px;

  background:#222;

  transform:rotate(45deg);
}

#fasttrack-crm .notification-small.ft-notification-type-message .close-btn:after{
  transform:rotate(-45deg);
}



/* ---------- IMAGE ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.image-wrapper{

  padding:16px 16px 0 16px !important;
}

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.image-wrapper img{

  width:100% !important;
  object-fit:cover !important;
  border-radius:10px !important;
  display:block !important;
}



/* ---------- CONTENT ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.image-wrapper + div{

  padding:18px 22px 22px 22px !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;

  text-align:center !important;
}



/* ---------- TITLE ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.title{

  color:#ffffff !important;

  font-size:18px !important;
  font-weight:800 !important;

  text-transform:uppercase !important;

  margin-bottom:10px !important;
}



/* ---------- MESSAGE ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.preview{

  color:#ffffff !important;

  font-size:14px !important;
  line-height:1.45 !important;

  margin-bottom:18px !important;

  max-width:260px !important;
}



/* ---------- CTA BUTTON ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.show-message-button{

  display:inline-flex !important;
  justify-content:center !important;
  align-items:center !important;

  padding:16px 30px !important;

  border-radius:999px !important;

  font-size:13px !important;
  font-weight:700 !important;

  text-transform:uppercase !important;

  color:#ffffff !important;
  text-decoration:none !important;

  background:linear-gradient(
    180deg,
    #b05cff 0%,
    #8f49ff 50%,
    #6B30D9 100%
  ) !important;

  border:1px solid rgba(255,255,255,0.1) !important;

  box-shadow:
  0 0 0 1px rgba(107,48,217,0.35),
  0 10px 30px rgba(107,48,217,0.55),
  0 0 32px rgba(155,90,255,0.35) !important;

  transition:all .18s ease !important;
}



/* ---------- CTA HOVER ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.show-message-button:hover{

  transform:translateY(-2px) !important;

  box-shadow:
  0 0 0 1px rgba(107,48,217,0.45),
  0 16px 36px rgba(107,48,217,0.65),
  0 0 40px rgba(155,90,255,0.45) !important;
}



/* ---------- HIDE SECOND CTA ---------- */

#fasttrack-crm 
.notification-small.ft-notification-type-message 
.show-message-button.secondary{

  display:none !important;
}