/* TAMINYAR DOWNLOAD THANK YOU */

#ty-download-thanks[hidden] {
 display:none!important;
}

#ty-download-thanks {
 position:fixed;
 inset:0;
 z-index:2147483000;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:18px;
 box-sizing:border-box;
 direction:rtl;
 background:rgba(3,15,28,.78);
 backdrop-filter:blur(9px);
 -webkit-backdrop-filter:blur(9px);
 opacity:0;
 visibility:hidden;
 transition:opacity .3s,visibility .3s;
}

#ty-download-thanks.is-visible {
 opacity:1;
 visibility:visible;
}

html:has(#ty-download-thanks.is-visible),
body:has(#ty-download-thanks.is-visible) {
 overflow:hidden!important;
 overscroll-behavior:none!important;
}

#ty-download-thanks .ty-thanks-card {
 position:relative;
 width:min(420px,100%);
 padding:32px 25px 23px;
 box-sizing:border-box;
 overflow:hidden;
 text-align:center;
 border:1px solid rgba(100,255,215,.38);
 border-radius:26px;
 background:
  radial-gradient(ellipse at 50% 0%,
   rgba(0,225,180,.2),transparent 55%),
  linear-gradient(145deg,#0b2235,#103c4c);
 box-shadow:0 25px 80px rgba(0,0,0,.4);
 color:#fff;
 transform:translateY(18px) scale(.96);
 transition:transform .35s cubic-bezier(.2,.8,.2,1);
}

#ty-download-thanks.is-visible .ty-thanks-card {
 transform:translateY(0) scale(1);
}

#ty-download-thanks .ty-thanks-close {
 position:absolute;
 top:12px;
 left:12px;
 width:36px;
 height:36px;
 min-width:36px;
 min-height:36px;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:0 0 2px;
 border:1px solid rgba(255,255,255,.25);
 border-radius:50%;
 background:rgba(255,255,255,.1);
 color:white;
 font-family:Arial,sans-serif;
 font-size:24px;
 line-height:1;
 cursor:pointer;
}

#ty-download-thanks .ty-thanks-icon {
 display:flex;
 align-items:center;
 justify-content:center;
 width:66px;
 height:66px;
 margin:0 auto 17px;
 border-radius:50%;
 border:2px solid rgba(255,255,255,.65);
 background:linear-gradient(145deg,#09bd91,#23d9a7);
 box-shadow:0 0 0 7px rgba(26,220,170,.09),
            0 0 30px rgba(26,220,170,.2);
}

#ty-download-thanks .ty-thanks-icon svg {
 width:34px;
 height:34px;
}

#ty-download-thanks .ty-thanks-eyebrow {
 display:block;
 color:#8fffe0;
 font-size:12px;
 font-weight:800;
 margin-bottom:9px;
}

#ty-download-thanks .ty-thanks-title {
 margin:0 0 9px;
 color:#fff;
 font-family:inherit;
 font-size:23px;
 font-weight:900;
 line-height:1.8;
}

#ty-download-thanks .ty-thanks-subtitle {
 margin:0 0 13px;
 color:#8fffe0;
 font-size:14px;
 font-weight:800;
 line-height:1.8;
}

#ty-download-thanks .ty-thanks-description {
 margin:0 auto 20px;
 max-width:350px;
 color:#c7dce3;
 font-size:12px;
 line-height:2.2;
 font-weight:500;
}

#ty-download-thanks .ty-thanks-contact {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:9px;
 width:100%;
 min-height:53px;
 padding:12px;
 box-sizing:border-box;
 border:1px solid rgba(100,255,215,.4);
 border-radius:14px;
 background:linear-gradient(110deg,#078c79,#13b99b);
 color:#fff!important;
 text-decoration:none!important;
 font-family:inherit;
 font-size:13px;
 font-weight:900;
 box-shadow:0 8px 22px rgba(0,190,155,.18);
 transition:transform .2s,filter .2s;
}

#ty-download-thanks .ty-thanks-contact:hover {
 transform:translateY(-2px);
 filter:brightness(1.1);
}

#ty-download-thanks .ty-thanks-note {
 margin:19px 0 10px;
 color:#a9c5cf;
 font-size:10px;
 line-height:1.8;
}

#ty-download-thanks .ty-thanks-progress {
 width:100%;
 height:3px;
 border-radius:10px;
 overflow:hidden;
 background:rgba(255,255,255,.14);
}

#ty-download-thanks .ty-thanks-progress span {
 display:block;
 width:100%;
 height:100%;
 border-radius:10px;
 background:#42e7bb;
 transform:scaleX(1);
 transform-origin:right center;
}

#ty-download-thanks.is-visible .ty-thanks-progress span {
 animation:tyThanksCountdown 10s linear forwards;
}

@keyframes tyThanksCountdown {
 to {transform:scaleX(0)}
}

@media(max-width:380px) {
 #ty-download-thanks .ty-thanks-card {
  padding:27px 18px 19px;
 }
 #ty-download-thanks .ty-thanks-title {
  font-size:21px;
 }
}

@media(prefers-reduced-motion:reduce) {
 #ty-download-thanks *,
 #ty-download-thanks *::before {
  animation:none!important;
  transition:none!important;
 }
}

/* Live countdown counter */
#ty-download-thanks .ty-thanks-countdown {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  margin:17px auto 12px;
}

#ty-download-thanks .ty-thanks-countdown-label {
  color:#b9d5df;
  font-size:11px;
  font-weight:700;
}

#ty-download-thanks .ty-thanks-countdown-number {
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:50%;
  border:1px solid rgba(143,255,224,.65);
  background:linear-gradient(145deg,#08b991,#087d79);
  color:#fff;
  font-family:inherit;
  font-size:17px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  box-shadow:0 0 0 5px rgba(26,220,170,.08),
             0 0 20px rgba(26,220,170,.2);
  animation:tyCounterPulse 1s ease-in-out infinite alternate;
}

@keyframes tyCounterPulse {
  from {transform:scale(1)}
  to {transform:scale(1.07)}
}
