/* Responsive Media Queries */

/* =========================================================================
   0. DOWNLOAD BUTTONS (App Store & Google Play)
   ========================================================================= */

.tp-welcome-actions-grid {
   display: flex;
   gap: 16px;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   margin: 32px 0 16px;
}

.tp-download-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   padding: 12px 24px;
   border: 1px solid #e5e7eb;
   border-radius: 12px;
   background-color: #ffffff;
   color: #111827;
   text-decoration: none;
   font-size: 14px;
   font-weight: 500;
   transition: all 0.3s ease;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   width: 240px;
}

.tp-download-btn:hover {
   border-color: #d1d5db;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
   transform: translateY(-2px);
}

.tp-download-icon {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 32px;
   height: 32px;
   flex-shrink: 0;
}

.tp-download-icon svg {
   width: 100%;
   height: 100%;
}

.tp-download-btn--appstore .tp-download-icon svg {
   color: #555555;
}

.tp-download-btn--playstore .tp-download-icon svg {
   color: #3b81f6;
}

.tp-download-content {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   justify-content: center;
}

.tp-download-label {
   font-size: 11px;
   opacity: 0.7;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.tp-download-store {
   font-size: 16px;
   font-weight: 600;
}

/* =========================================================================
   1. MIN & MAX WIDTH (Targeting specific breakpoint ranges)
   ========================================================================= */

/* Extra small devices (phones, 320px to 480px) */
@media only screen and (min-width: 320px) and (max-width: 480px) {
   .tp-welcome-actions-grid {
      flex-direction: column;
      gap: 12px;
   }

   .tp-download-btn {
      width: 100%;
      justify-content: center;
   }

   /* Seamless Transition section – tighter padding & stacked buttons */
   .tp-welcome-transition {
      padding: 24px 16px !important;
      margin-left: 12px !important;
      margin-right: 12px !important;
   }

   .tp-transition-content a.tp-transition-btn {
      display: flex;
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
      margin-bottom: 10px;
   }

   .tp-transition-content a.tp-transition-btn:last-of-type {
      margin-bottom: 0;
   }

   .tp-business-type-radio span.wpcf7-list-item.first,
   .tp-business-type-radio span.wpcf7-list-item.last {
      width: 100%;
      border-radius: 8px !important;
   }

   .tp-business-type-radio span.wpcf7-list-item.first label,
   .tp-business-type-radio span.wpcf7-list-item.last label {
      border-radius: 8px !important;
   }

   div#tp-step-1 .tp-tab-switcher {
      display: block;
      background: transparent;
   }

   button.tp-tab {
      width: 100%;
   }

   input[type="submit"].wpcf7-submit {
      min-width: 100%;
   }
}

@media only screen and (min-width: 481px) and (max-width: 574px) {

   .tp-business-type-radio span.wpcf7-list-item.first,
   .tp-business-type-radio span.wpcf7-list-item.last {
      width: 100%;
      border-radius: 8px !important;
   }

   .tp-business-type-radio span.wpcf7-list-item.first label,
   .tp-business-type-radio span.wpcf7-list-item.last label {
      border-radius: 8px !important;
   }

   div#tp-step-1 .tp-tab-switcher {
      display: block;
      background: transparent;
   }

   button.tp-tab {
      width: 100%;
   }

   /* Seamless Transition buttons – stack and fill width */
   .tp-transition-content a.tp-transition-btn {
      display: flex;
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
      margin-bottom: 10px;
   }

   .tp-transition-content a.tp-transition-btn:last-of-type {
      margin-bottom: 0;
   }
}

/* Small devices (large phones/small tablets, 481px to 768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
   .elementor-element.tp_review_form {
      --content-width: 100% !important;
   }

   .tp-tab {
      font-size: 12px;
   }

   /* Transition buttons: side by side, auto width */
   .tp-transition-content a.tp-transition-btn {
      display: inline-flex;
      width: auto;
      padding: 12px 20px;
      font-size: 13px;
      margin-right: 10px;
      margin-bottom: 0;
   }

   .tp-transition-content a.tp-transition-btn:last-of-type {
      margin-right: 0;
   }
}

/* Medium devices (tablets, 769px to 1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
   .elementor-element.tp_review_form {
      --content-width: 100% !important;
   }

   /* Transition buttons: side by side, auto width */
   .tp-transition-content a.tp-transition-btn {
      display: inline-flex;
      width: auto;
      padding: 12px 20px;
      font-size: 13px;
      margin-right: 10px;
      margin-bottom: 0;
   }

   .tp-transition-content a.tp-transition-btn:last-of-type {
      margin-right: 0;
   }
}

/* Large devices (laptops/desktops, 1025px to 1440px) */
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
   .elementor-element.tp_review_form {
      --content-width: 100% !important;
   }

   .review-form-sec > .e-con-inner {
      max-width: 100% !important;
      width: 100% !important;
   }

   .review-form-sec > .e-con-inner .e-con-inner {
      min-width: 90% !important;
      max-width: 90% !important;
   }

   /* Override the 70% max-width on step 2 active state */
   .tp_review_form .e-con-inner:has(#tp-step-2.active-step) {
      max-width: 90% !important;
   }

   #tp-step-1,
   #tp-step-2 {
      padding: 24px 32px;
   }

   .tp-step-form {
      max-width: 100%;
      padding: 10px 0;
   }

   .tp-step2-form {
      max-width: 100%;
   }
}

/* Extra large devices (large desktops, 1441px to 1920px) */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {}


/* =========================================================================
   2. MIN-WIDTH ONLY (Mobile-first approach, cascading styles upwards)
   ========================================================================= */

/* Extra small devices (phones, 320px and up) */
@media only screen and (min-width: 320px) {}

/* Small devices (large phones/small tablets, 481px and up) */
@media only screen and (min-width: 481px) {}

/* Medium devices (tablets, 769px and up) */
@media only screen and (min-width: 769px) {}

/* Large devices (laptops/desktops, 1025px and up) */
@media only screen and (min-width: 1025px) {}

/* Extra large devices (large desktops, 1441px and up) */
@media only screen and (min-width: 1441px) {}

/* Ultra wide devices (screens larger than 1920px) */
@media only screen and (min-width: 1921px) {}