/* TDev Promo Popup Styles */
.tdev-promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .tdev-promo-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-family: inherit;
  }
  .tdev-promo-card {
    inline-size: min(655px, 92vw);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
    position: relative;
    border-radius: 16px;
  }
  .tdev-promo-close {
    position: absolute;
    padding: unset !important;
    margin: unset !important;
    inset-block-start: 10px;
    inset-inline-end: 12px;
    min-inline-size: 36px;
    min-block-size: 36px !important;
    border-radius: 200px !important;
    background: #fff;
    border: 1px solid #e6e6e6;
    cursor: pointer !important;
    font-size: 22px;
    line-height: 1.5;
  }
  
  .button, button, input[type=button], input[type=reset], input[type=submit]{
     padding: unset !important;
    margin: unset !important;
  }
  blockquote, dl, figure, form, ol, p, pre, ul{
       margin: unset !important;
  }
   .tdev-promo-close.button:not(.icon),   .tdev-promo-close:not(.icon),   .tdev-promo-close[type=button],   .tdev-promo-close[type=submit] {
        border-radius: 200px !important;
   }
  .tdev-promo-header{
      background-image: url(./popup.jpg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      inline-size: 100%;
      block-size: 260px;
  }
  .tdev-promo-body {
    padding: 28px 28px 24px;
    text-align: center;
    direction: rtl;
  }
  .tdev-promo-body h3 {
    margin: 0 0 8px;
    color: var(--Neutral---800, #292929);
    text-align: start;
    font-size: 40px;
    font-weight: 600;
    line-height: 39px; /* 195% */
  }
  .tdev-promo-desc {
    color: var(--Neutral---500, #666);
    text-align: start;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    margin: 0 0 28px 0 !important;
  }
  .tdev-promo-form {
    display: flex;
    gap: 16px;
    flex-direction: column;
  }
  .tdev-promo-form label {
    inline-size: 100%;
    text-align: start;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
  }
  .tdev-promo-form input[type="email"] {
    flex: 1 1 420px;
    block-size: 44px;
    padding: 0 14px;
    border: 1px solid #e1e3e6;
    border-radius: 10px;
    outline: none;
  }
  
  .tdev-promo-email {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tdev-promo-button {
    display: flex;
    gap: 16px;
    block-size: 48px;
  }
  .tdev-promo-submit {
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    background: #0b3a2f;
    color: #fff;
    inline-size: 100%;
  }
  .tdev-promo-secondary {
    /* margin-top: 12px; */
    background: transparent;
    border: 0;
    cursor: pointer;
    inline-size: 100%;
    color: var(--Neutral---600, #525252);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    text-decoration: none;
  }
  
  /* حالت نمایش‌داده‌شده */
  .tdev-promo-overlay.is-visible {
    opacity: 1;
  }
  .tdev-promo-modal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
/* Honeypot (hidden from users) */
.tdev-promo-honeypot {
    position: absolute;
    inset-inline-end: -9999px;
}

/* Feedback message */
#tdev-promo-message {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}
#tdev-promo-message.success {
    color: #0b3a2f;
}
#tdev-promo-message.error {
    color: #d32f2f;
}  