/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ========================================
   Astra Global Colors (Do Not Change)
   ======================================== */
:root {
  --ast-global-color-0: #775498;
  --ast-global-color-1: #5e9a90;
  --ast-global-color-2: #000000;
  --ast-global-color-3: #22323d;
  --ast-global-color-4: #ecf0f2;
  --ast-global-color-5: #ffffff;
  --ast-global-color-6: #373737;
  --ast-global-color-7: #007991;
  --ast-global-color-8: #000000;
}

/* ========================================
   TailPro Onboarding Form - Modern Design
   ======================================== */

:root {
  /* Map to Astra colors */
  --tp-primary: #775498;
  --tp-primary-hover: #654580;
  --tp-primary-light: #f5f0f8;
  --tp-primary-soft: #ede6f2;
  --tp-secondary: #5e9a90;
  --tp-accent: #007991;
  --tp-text-main: #22323d;
  --tp-text-muted: #6b7280;
  --tp-text-light: #9ca3af;
  --tp-bg-main: #f8fafc;
  --tp-bg-light: #ecf0f2;
  --tp-border: #e5e7eb;
  --tp-border-light: #f3f4f6;
  --tp-white: #ffffff;
  --tp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --tp-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --tp-shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --tp-radius: 12px;
  --tp-radius-lg: 16px;
}

/* Container Styling */

#tp-step-1 .tp-field p {
  margin-bottom: 20px;
}

#tp-step-1 .tp-field p label,
.tp-step2-form .tp-field p label {
  font-weight: bold;
}

.tp-step2-form {
  max-width: 800px;
  margin: 0 auto;
  animation: tpFadeInUp 0.5s ease-out;
}

@keyframes tpFadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Header */
.tp-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.tp-form-header h2,
.tp-form-title {
  font-weight: 700;
  color: var(--tp-text-main);
  margin: 0 0 8px 0;
  letter-spacing: -0.025em;
}

.tp-form-header p,
.tp-form-subtitle {
  font-size: 14px;
  color: var(--tp-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Info Banner */
.tp-info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--tp-primary-soft);
  border-radius: var(--tp-radius);
  margin-bottom: 24px;
}

.tp-info-banner svg {
  width: 20px;
  height: 20px;
  color: var(--tp-primary);
  flex-shrink: 0;
}

.tp-info-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--tp-primary);
  font-weight: 500;
}

/* Section Cards */
.tp-section {
  background: var(--tp-white);
  border-radius: var(--tp-radius-lg);
  border: 1px solid var(--tp-border-light);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--tp-shadow-sm);
}

.tp-section:last-of-type {
  margin-bottom: 0;
}

/* Tier Selection Cards */
.tp-tier-section .tp-section-title {
  justify-content: center;
}

.tp-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tp-tier-card {
  position: relative;
  background: var(--tp-white);
  border: 2px solid var(--tp-border-light);
  border-radius: var(--tp-radius);
  padding: 20px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tp-tier-card:hover {
  border-color: var(--tp-primary-soft);
  box-shadow: var(--tp-shadow-md);
}

.tp-tier-card.active {
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 1px var(--tp-primary);
}

.tp-tier-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp-text-main);
  margin: 16px 0 4px 0;
}

.tp-tier-card .tp-tier-subtitle {
  display: block;
  font-size: 13px;
  color: var(--tp-text-muted);
  margin-bottom: 20px;
}

.tp-tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tp-primary);
  color: var(--tp-white);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  line-height: 16px;
}

.tp-tier-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp-primary, #2563eb);
  margin: 4px 0 6px;
  line-height: 1.2;
}

.tp-tier-price-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--tp-text-muted, #6b7280);
}

.tp-tier-support-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tp-text-muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}

.tp-tier-features-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-primary);
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.tp-tier-features p {
  font-size: 14px;
  color: var(--tp-text-muted);
  margin: 0 0 6px 0;
}

@media (max-width: 768px) {
  .tp-tier-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tp-tier-card {
    padding: 20px 16px;
    margin-bottom: 20px;
  }
}

@media (max-width: 855px) {
  .tp-business-type-radio .wpcf7-list-item {
    margin: 0 0 10px 0;
  }

  .tp-business-type-radio .wpcf7-list-item-label {
    font-size: 12px;
  }
}

@media (min-width: 855px) {
  .tp-business-type-radio .wpcf7-list-item {
    margin: 0 10px 0 0;
  }
}

.tp-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--tp-text-main);
  margin: 0 0 24px 0;
}

.tp-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--tp-primary-light);
  border-radius: 10px;
}

.tp-section-icon p {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tp-section-title br {
  display: none;
}

.tp-section-icon svg {
  width: 18px;
  height: 18px;
  color: var(--tp-primary);
}

/* Business Type Toggle */
.tp-field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-text-main);
  margin-bottom: 8px;
}

.tp-business-type-radio .wpcf7-list-item {
  background: var(--tp-bg-light);
  border-radius: 8px;
}

.tp-business-type-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
  white-space: nowrap;
  border-radius: 8px;
}

.tp-business-type-radio .wpcf7-list-item input[type="radio"] {
  display: none;
}

.tp-business-type-radio .wpcf7-list-item input[type="radio"]:checked + span,
.tp-business-type-radio .wpcf7-list-item:has(input:checked) label {
  background: var(--tp-primary);
  color: var(--tp-white);
}

/* Override CF7 radio styling for toggle */
.tp-business-type-radio span.wpcf7-list-item-label {
  color: var(--tp-text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: block;
}

/* Grid Layout */
.tp-grid,
.tp-individual-fields,
.tp-business-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tp-individual-fields,
.tp-business-fields {
  margin-top: 20px;
}

.tp-individual-fields .tp-field,
.tp-business-fields .tp-field {
  animation: slideIn 0.25s ease;
}

.tp-individual-fields .tp-field p br,
.tp-business-fields .tp-field p br {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Field Labels */

.tp-required {
  color: #ef4444;
  font-weight: 600;
}

/* Input Styling */
.tp-input,
.tp-select,
input[type="text"].wpcf7-form-control,
input[type="email"].wpcf7-form-control,
input[type="tel"].wpcf7-form-control,
input[type="date"].wpcf7-form-control,
select.wpcf7-form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--tp-text-main);
  background: var(--tp-white);
  transition: all 0.2s ease;
}

.tp-input::placeholder,
.tp-select::placeholder,
.wpcf7-form-control::placeholder {
  color: var(--tp-text-light);
}

.tp-input:focus,
.tp-select:focus,
.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 3px rgba(119, 84, 152, 0.15);
}

/* Select Dropdown */
.tp-select,
select.wpcf7-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* Searchable Select (combobox) */
.tp-searchable-select {
  position: relative;
}

.tp-searchable-select__native {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tp-searchable-select__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: var(--tp-white);
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 4px 0;
  margin: 0;
  list-style: none;
}

.tp-searchable-select__option {
  padding: 9px 14px;
  font-size: 14px;
  color: var(--tp-text-main);
  cursor: pointer;
}

.tp-searchable-select__option.is-active,
.tp-searchable-select__option:hover {
  background: rgba(119, 84, 152, 0.08);
}

.tp-searchable-select__option.is-selected {
  font-weight: 600;
}

.tp-searchable-select__option--child {
  padding-left: 28px;
  font-size: 13px;
  color: var(--tp-text-light);
}

.tp-searchable-select__empty {
  padding: 9px 14px;
  font-size: 14px;
  color: var(--tp-text-light);
}

.tp-checkbox-grid .wpcf7-form-control {
  display: grid;
}

/* Checkbox Grid for Services */
@media (min-width: 575px) {
  .tp-checkbox-grid .wpcf7-form-control {
    grid-template-columns: 1fr 1fr;
  }
}

.tp-checkbox-grid .wpcf7-list-item {
  padding-bottom: 14px;
  margin-left: 0;
  margin-right: 10px;
}

@media (max-width: 575px) {
  .tp-checkbox-grid .wpcf7-list-item {
    margin: 0;
  }
}

.tp-checkbox-grid .wpcf7-list-item label,
.tp-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--tp-white);
  font-size: 14px;
  color: var(--tp-text-main);
  margin: 0 !important;
}

.tp-checkbox-grid .wpcf7-list-item label:hover,
.tp-checkbox-label:hover {
  border-color: var(--tp-primary);
  background: var(--tp-primary-light);
}

.tp-checkbox-grid .wpcf7-list-item.is-checked label,
.tp-checkbox-label.is-checked {
  border-color: var(--tp-primary);
  background: var(--tp-primary-light);
}

.tp-checkbox-grid input[type="checkbox"],
.tp-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--tp-primary);
  cursor: pointer;
}

/* Checkbox and Radio Styling */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--tp-primary);
}

/* AAL Requirements Section */
#aal-requirements-section {
  margin-top: 20px;
  transition: all 0.3s ease;
}

.tp-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #e0f7fa;
  border-left: 3px solid var(--tp-accent);
  border-radius: 8px;
  margin-bottom: 20px;
}

.tp-info-box svg {
  width: 18px;
  height: 18px;
  color: var(--tp-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.tp-info-box strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-accent);
  margin-bottom: 2px;
}

.tp-info-box p {
  font-size: 13px;
  color: var(--tp-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Star Rating */
.tp-star-rating {
  display: flex;
  align-items: center;
}

.tp-star-rating p {
  display: flex;
  justify-content: center;
}

.tp-star-rating p br {
  display: none;
}

.tp-star {
  cursor: pointer;
  transition: transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.tp-star:hover {
  transform: scale(1.1);
}

.tp-star svg {
  width: 24px;
  height: 24px;
  color: #d1d5db;
  fill: #d1d5db;
  transition: all 0.15s ease;
}

.tp-star.active svg {
  color: var(--tp-primary);
  fill: var(--tp-primary);
}

.tp-rating-text {
  margin-left: 12px;
  font-size: 14px;
  color: var(--tp-text-muted);
  font-weight: 500;
}

.tp-loader-text {
  display: flex;
  justify-content: center;
}

/* File Upload */
.tp-file-upload-wrapper {
  position: relative;
}

.tp-file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border: 2px dashed var(--tp-border);
  border-radius: var(--tp-radius);
  background: var(--tp-bg-light);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.tp-file-upload-label:hover {
  border-color: var(--tp-primary);
  background: var(--tp-primary-light);
}

.tp-file-upload-label svg {
  width: 32px;
  height: 32px;
  color: var(--tp-text-light);
  margin-bottom: 8px;
}

.tp-file-upload-label p {
  margin: 0;
  font-size: 13px;
  color: var(--tp-text-muted);
}

.tp-file-upload-label p:first-of-type {
  font-weight: 500;
  color: var(--tp-text-main);
  margin-bottom: 4px;
}

/* Hide default file input, show only styled upload area */
.tp-file-upload-wrapper input[type="file"].wpcf7-form-control,
.tp-file-upload-wrapper .wpcf7-form-control-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.tp-file-upload-wrapper .wpcf7-form-control-wrap {
  z-index: 10;
}

/* Consent Section */
.tp-consent-section {
  margin-top: 24px;
  padding: 0;
}

.tp-consent-label,
.tp-acceptance label {
  display: flex;
  gap: 6px;
  cursor: pointer;
}

.tp-consent-label br,
.tp-acceptance-label br {
  display: none;
}

.tp-acceptance-label .wpcf7-form-control-wrap,
.tp-consent-label .wpcf7-form-control-wrap {
  width: auto;
}

.tp-consent-label input[type="checkbox"],
.tp-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--tp-primary);
}

.tp-consent-label a,
.tp-acceptance a {
  color: var(--tp-primary);
  text-decoration: none;
  font-weight: 500;
}

.tp-consent-label a:hover,
.tp-acceptance a:hover {
  text-decoration: underline;
}

.tp-checkbox-field {
  margin-bottom: 12px;
}

.tp-checkbox-field:last-child {
  margin-bottom: 0;
}

/* Form Actions */
.tp-form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--tp-border-light);
  gap: 16px;
}

.tp-complete-btn,
.tp-back-btn,
input[type="submit"].wpcf7-submit {
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tp-complete-btn,
input[type="submit"].wpcf7-submit {
  background: var(--tp-primary);
  color: var(--tp-white);
  box-shadow: 0 2px 4px rgba(119, 84, 152, 0.2);
}

.tp-complete-btn:hover,
input[type="submit"].wpcf7-submit:hover {
  background: var(--tp-primary-hover);
  box-shadow: 0 4px 8px rgba(119, 84, 152, 0.3);
  transform: translateY(-1px);
}

.tp-complete-btn:disabled,
input[type="submit"].wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.tp-complete-btn:disabled:hover,
input[type="submit"].wpcf7-submit:disabled:hover {
  background: var(--tp-primary);
  box-shadow: none;
  transform: none;
}

.tp-back-btn {
  background: var(--tp-bg-light);
  color: var(--tp-text-muted);
  border: 1px solid var(--tp-border);
}

.tp-back-btn:hover {
  background: var(--tp-border-light);
  color: var(--tp-text-main);
}

/* Security Note */
.tp-security-note {
  font-size: 12px;
  color: var(--tp-text-light);
  font-style: italic;
}

/* Loader Overlay */
.tp-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  border-radius: var(--tp-radius);
}

.tp-loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--tp-border-light);
  border-top-color: var(--tp-primary);
  border-radius: 50%;
  animation: tp-spin 0.8s linear infinite;
}

.tp-loader-text {
  margin-top: 16px;
  font-size: 15px;
  color: var(--tp-text-main);
  font-weight: 500;
}

@keyframes tp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Step 3 "Complete Signup" post-submit loader — a full-screen overlay that
   cycles through a few progress messages while the signup API calls run,
   then the page redirects to the Welcome page (see new-signup-flow.js). */
.tp-step3-loader-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: tp-fade-in 0.25s ease;
}
.tp-step3-loader-overlay.tp-active {
  display: flex;
}

.tp-step3-loader-card {
  text-align: center;
  max-width: 320px;
  padding: 32px 24px;
}

.tp-step3-loader-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  display: block;
}

.tp-step3-loader-message {
  margin: 0;
  min-height: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--tp-text-main, #374151);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tp-step3-loader-message.tp-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Small inline button spinner */
.tp-btn-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--tp-border-light, #e5e7eb);
  border-top-color: var(--tp-primary, #775498);
  border-radius: 50%;
  animation: tp-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 10px;
}

/* White spinner variant — for use on dark/coloured button backgrounds */
.tp-btn-spinner--white {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}

/* Progress Bar */
.tp-progress-container {
  background: var(--tp-white);
  padding: 20px 24px;
  border-radius: var(--tp-radius);
  border: 1px solid var(--tp-border-light);
  margin-bottom: 24px;
  box-shadow: var(--tp-shadow-sm);
}

.tp-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tp-progress-title {
  font-weight: 600;
  color: var(--tp-text-main);
  margin: 0;
  font-size: 14px;
}

.tp-progress-step-info {
  font-size: 13px;
  color: var(--tp-primary);
  font-weight: 500;
}

.tp-progress-bar-bg {
  height: 6px;
  background: var(--tp-border-light);
  border-radius: 3px;
  overflow: hidden;
}

.tp-progress-bar-fill {
  height: 100%;
  background: var(--tp-primary);
  width: 50%;
  transition: width 0.4s ease;
  border-radius: 3px;
}

/* Hide CF7 default elements */
.wpcf7-response-output {
  margin: 16px 0 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
}

.wpcf7-response-output.wpcf7-validation-errors {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #22c55e !important;
  background: #f0fdf4 !important;
  color: #16a34a !important;
}

.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 640px) {
  #tp-step-1,
  #tp-step-2 {
    padding: 24px 16px;
  }

  .tp-section {
    padding: 20px;
  }

  .tp-grid,
  .tp-individual-fields,
  .tp-business-fields,
  .tp-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .tp-form-header h2,
  .tp-form-title {
    font-size: 20px;
  }

  .tp-business-type-radio,
  .tp-business-type-toggle {
    width: 100%;
  }

  .tp-business-type-radio .wpcf7-list-item label {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
  }

  .tp-form-actions {
    flex-direction: column;
  }

  .tp-complete-btn,
  .tp-back-btn,
  input[type="submit"].wpcf7-submit {
    width: 100%;
  }
}

/* Step 1 Form Specific Styles */
.tp-step-form h3 {
  color: var(--tp-text-main);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

/* Hide spinner on loading */
.wpcf7-spinner {
  display: none !important;
}

/* Phone input adjustments */
.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 5;
}

.iti__selected-dial-code {
  font-size: 14px;
  margin-left: 8px;
}

.tp-business-fields {
  display: none;
}

/* ========================================
   Activate Session Page
   ======================================== */

.activate-session-wrapper {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.activate-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-md);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--tp-border);
}

.tp-spinner-large {
  width: 60px;
  height: 60px;
  border: 5px solid var(--tp-bg-light);
  border-top-color: var(--tp-primary);
  border-radius: 50%;
  animation: tp-spin 1s linear infinite;
  margin: 0 auto 30px auto;
}

@keyframes tp-spin {
  to {
    transform: rotate(360deg);
  }
}

.activate-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp-text-main);
  margin-bottom: 10px;
}

.activate-subtitle {
  font-size: 16px;
  color: var(--tp-text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
}

.fallback-options {
  border-top: 1px solid var(--tp-border);
  padding-top: 30px;
  margin-top: 30px;
}

.fallback-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text-main);
  margin-bottom: 20px;
  display: block;
}

.app-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--tp-primary);
  color: var(--tp-white);
  text-decoration: none;
  border-radius: var(--tp-radius);
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--tp-shadow-sm);
}

.btn-store:hover {
  background-color: var(--tp-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow);
  color: var(--tp-white);
}

.link-web {
  color: var(--tp-text-muted);
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s;
}

.link-web:hover {
  color: var(--tp-primary);
}

/* Wrapper */
.header-profile-wrapper {
  position: relative;
  display: inline-block;
}

/* Toggle Container (pill shape) */
.header-profile-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: rgba(119, 84, 152, 0.7);
  border-radius: 40px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Circle Avatar */
.profile-avatar {
  width: 42px;
  height: 42px;
  background: var(--ast-global-color-0);
  /* brownish tone like screenshot */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar span {
  color: #fff;
  font-size: 18px;
}

/* Arrow */
.profile-arrow {
  color: var(--ast-global-color-4);
  font-size: 14px;
}

/* Hover Effect */

.icon-box span {
  color: var(--ast-global-color-0);
}

/* Dropdown Container */
.header-profile-dropdown {
  position: absolute;
  top: 65px;
  right: 0;
  display: none;
  z-index: 9999;
}

/* Card */
.profile-card {
  min-width: 215px;
  background: var(--ast-global-color-5);
  border-radius: 15px;
  padding: 8px 0;
  box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(119, 84, 152, 0.1);
  position: relative;
}

/* Menu Items */
.profile-card .admin-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ast-global-color-3);
  transition: 0.3s ease;
}

/* Button Style */
.login-btn {
  margin: 0 12px;
  background: var(--ast-global-color-0);
  color: var(--ast-global-color-5) !important;
  border-radius: 12px;
  padding: 10px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Icon Bubble */
.profile-card .admin-link i {
  width: 36px;
  height: 36px;
  background: rgba(119, 84, 152, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ast-global-color-0);
  font-size: 14px;
}

/* Exsiting user form  */
.tp-support-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.tp-support-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tp-text-main);
  margin: 0 0 8px;
}

.tp-support-subtitle {
  color: var(--tp-text-muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.tp-support-field {
  margin-bottom: 20px;
  margin-top: 30px;
}

.tp-support-field br {
  display: none;
}

.tp-support-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-text-main);
  margin-bottom: 8px;
}

.tp-support-label svg {
  width: 15px;
  height: 15px;
  color: var(--tp-text-muted);
  flex-shrink: 0;
}

.tp-support-card textarea.tp-input {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.tp-support-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  background: linear-gradient(
    135deg,
    var(--tp-primary, #775498),
    var(--tp-primary-hover, #654580)
  );
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(119, 84, 152, 0.3);
  transition: all 0.2s ease;
}

.tp-support-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(119, 84, 152, 0.4);
}

/* ========================================
   Step 1 — Conditional Enquiry Textarea
   ======================================== */

.tp-enquiry-wrap {
  display: none;
  margin-top: 4px;
}

.tp-enquiry-wrap textarea.tp-input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Step 1 success screen (General Enquiry submitted) */
.tp-step1-success {
  text-align: center;
  padding: 48px 24px 40px;
}

.tp-step1-success-icon {
  width: 72px;
  height: 72px;
  background: #e8f8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.tp-step1-success-icon svg {
  width: 32px;
  height: 32px;
  color: #22c55e;
}

.tp-step1-success h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp-text-main, #22323d);
  margin-bottom: 12px;
}

.tp-step1-success p {
  font-size: 14px;
  color: var(--tp-text-muted, #6b7280);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.tp-step1-back-link {
  display: inline-block;
  color: var(--tp-primary, #775498);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.tp-step1-back-link:hover {
  text-decoration: underline;
}

/* ========================================
   Support Page Tab Switcher
   ======================================== */

.tp-tab-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  background: var(--tp-bg-light, #f3f4f6);
  border-radius: 50px;
  padding: 4px;
}

.tp-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--tp-text-muted, #6b7280);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tp-tab svg {
  flex-shrink: 0;
}

.tp-tab.active {
  background: var(--tp-primary, #775498);
  color: #fff;
  box-shadow: 0 2px 8px rgba(119, 84, 152, 0.3);
}

.tp-tab:not(.active):hover {
  color: var(--tp-text-main, #22323d);
  background: var(--tp-border, #e5e7eb);
}

@media (max-width: 480px) {
  .tp-tab {
    font-size: 13px;
    padding: 9px 12px;
    gap: 6px;
    min-height: 44px;
  }
}

/* ========================================
   Existing Customer Support — Success Screen
   ======================================== */

.tp-support-success {
  text-align: center;
  padding: 40px 24px 32px;
}

.tp-support-success-icon {
  width: 72px;
  height: 72px;
  background: #e8f8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.tp-support-success-icon svg {
  width: 32px;
  height: 32px;
  color: #22c55e;
}

.tp-support-success h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp-text-main, #22323d);
  margin-bottom: 12px;
}

.tp-support-success > p {
  font-size: 14px;
  color: var(--tp-text-muted, #6b7280);
  max-width: 380px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.tp-support-next-steps {
  background: var(--tp-bg-light, #f9fafb);
  border: 1px solid var(--tp-border, #e5e7eb);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 28px;
}

.tp-support-next-steps-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tp-text-muted, #6b7280);
  margin-bottom: 14px;
}

.tp-support-next-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-support-next-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--tp-text-main, #22323d);
}

.tp-support-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tp-primary, #775498);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tp-support-back-link {
  display: inline-block;
  color: var(--tp-primary, #775498);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.tp-support-back-link:hover {
  text-decoration: underline;
}

/* ========================================
   Welcome Page — After Onboarding
   ======================================== */

/* Scroll-triggered fade-in animation */
.tp-welcome-trial-card,
.tp-welcome-review-card,
.tp-welcome-transition,
.tp-feature-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.tp-animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Welcome page background */
.tp-welcome-page-wrap {
  background: var(--tp-bg-main, #f8fafc);
  min-height: 60vh;
  padding-bottom: 20px;
}

/* ---- Hero ---- */
.tp-welcome-hero {
  text-align: center;
  padding: 56px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.tp-welcome-badge {
  display: inline-block;
  padding: 6px 18px;
  background: #e6faf0;
  color: var(--ast-global-color-1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 20px;
  margin-bottom: 16px;
}

.tp-welcome-heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--tp-text-main, #22323d);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tp-welcome-subheading {
  font-size: 16px;
  color: var(--tp-text-muted, #6b7280);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Email Confirmation ---- */
.tp-welcome-email-confirm {
  max-width: 700px;
  margin: 0 auto 20px;
  padding: 20px;
}

.tp-email-confirm-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: #f0fdf7;
  border-left: 4px solid #5e9a90;
  border-radius: 8px;
  box-shadow: var(--tp-shadow-sm);
}

.tp-email-confirm-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #5e9a90;
  color: white;
  border-radius: 8px;
}

.tp-email-confirm-icon svg {
  width: 20px;
  height: 20px;
}

.tp-email-confirm-text {
  flex: 1;
}

.tp-email-confirm-message {
  font-size: 14px;
  color: #5e9a90;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.tp-welcome-webapp-login {
  max-width: 700px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.tp-webapp-login-content {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--tp-primary-soft);
  border-left: 4px solid var(--tp-primary);
  border-radius: 8px;
  box-shadow: var(--tp-shadow-sm);
}

.tp-webapp-login-message {
  font-size: 14px;
  color: var(--tp-primary);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.tp-webapp-login-content .tp-transition-btn {
  background: var(--tp-primary);
  color: #fff;
  border-color: var(--tp-primary);
  flex-shrink: 0;
  margin-right: 0;
}

.tp-webapp-login-content .tp-transition-btn:hover {
  background: var(--tp-primary-hover, #654580);
  border-color: var(--tp-primary-hover, #654580);
  color: #fff;
}

.tp-webapp-login-text {
  flex: 1 1 260px;
}

.tp-webapp-countdown {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--tp-primary);
  opacity: 0.85;
}

.tp-webapp-countdown strong {
  font-variant-numeric: tabular-nums;
}

.tp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tp-webapp-login-content .tp-transition-btn {
  text-transform: none;
  letter-spacing: normal;
}

button.tp-transition-btn {
  font-family: inherit;
  line-height: 1.4;
}

.tp-webapp-login-content .tp-transition-btn:disabled {
  opacity: 0.85;
  cursor: wait;
}

.tp-webapp-login-content .tp-btn-spinner {
  margin-left: 0;
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.tp-webapp-login-message--error {
  color: #b91c1c;
}

@media (max-width: 600px) {
  .tp-webapp-login-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .tp-webapp-login-content .tp-transition-btn {
    justify-content: center;
  }
}

/* ==== Pet Pro Expo 2026 page ==== */
.tp-expo-page-wrap {
  background: var(--tp-bg-main, #f8fafc);
  min-height: 60vh;
  padding-bottom: 60px;
}

.tp-expo-hero {
  text-align: center;
  padding: 56px 20px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.tp-expo-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--tp-primary-soft);
  color: var(--tp-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 20px;
  margin-bottom: 16px;
}

.tp-expo-heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--tp-text-main, #22323d);
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tp-expo-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tp-expo-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--tp-border-light, #e5e7eb);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text-main, #22323d);
}

.tp-expo-meta-item svg {
  flex-shrink: 0;
  color: var(--tp-primary);
}

.tp-expo-subheading {
  font-size: 16px;
  color: var(--tp-text-muted, #6b7280);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.tp-expo-story {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
}

.tp-expo-text {
  font-size: 16px;
  color: var(--tp-text-main, #22323d);
  line-height: 1.7;
  margin: 0 0 18px;
}

.tp-expo-text--highlight {
  font-weight: 700;
  color: var(--tp-primary);
}

@media (max-width: 600px) {
  .tp-expo-heading {
    font-size: 30px;
  }
}

.tp-email-confirm-message strong {
  font-weight: 700;
  color: #5e9a90;
}

/* ---- Action Buttons ---- */
.tp-welcome-actions {
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.tp-welcome-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}

.tp-welcome-actions-grid.tp-mobile-single {
  grid-template-columns: 1fr;
}

.tp-action-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1.5px solid var(--tp-border, #e5e7eb);
  border-radius: 12px;
  background: var(--tp-white, #fff);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text-main, #22323d);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--tp-shadow-sm);
}

.tp-action-card:hover {
  border-color: var(--tp-primary, #775498);
  box-shadow: var(--tp-shadow-md);
  transform: translateY(-2px);
  color: var(--tp-text-main, #22323d);
  text-decoration: none;
}

.tp-action-card--primary {
  background: var(--tp-primary, #775498);
  color: #fff;
  border-color: var(--tp-primary, #775498);
  box-shadow: 0 4px 12px rgba(119, 84, 152, 0.3);
}

.tp-action-card--primary:hover {
  background: var(--tp-primary-hover, #654580);
  border-color: var(--tp-primary-hover, #654580);
  color: #fff;
  box-shadow: 0 6px 16px rgba(119, 84, 152, 0.4);
}

.tp-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tp-action-icon svg {
  width: 20px;
  height: 20px;
}

.tp-welcome-actions-desc {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  text-align: center;
}

.tp-welcome-actions-desc p {
  font-size: 12px;
  color: var(--tp-text-light, #9ca3af);
  margin: 0;
  line-height: 1.5;
  padding: 0 8px;
}

/* Download Button Styling */
.tp-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1.5px solid var(--tp-border, #e5e7eb);
  border-radius: 12px;
  background: var(--tp-white, #fff);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--tp-shadow-sm);
  flex-wrap: wrap;
  min-height: 70px;
  height: auto;
}

.tp-download-btn:hover {
  border-color: var(--tp-primary, #775498);
  box-shadow: var(--tp-shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

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

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

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

.tp-download-label {
  display: block;
  font-size: 12px;
  color: var(--tp-text-muted, #6b7280);
  font-weight: 500;
  line-height: 1;
}

.tp-download-store {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--tp-text-main, #22323d);
  line-height: 1.2;
}

/* Device-specific button visibility */
@media (max-width: 768px) {
  .tp-download-btn {
    padding: 14px 18px;
  }

  .tp-download-icon {
    width: 24px;
    height: 24px;
  }

  .tp-download-store {
    font-size: 14px;
  }
}

/* ---- Trial Status + Review Row ---- */
.tp-welcome-status-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 48px;
  /* padding: 0 20px; */
  align-items: stretch;
}

/* Trial Status Card */
.tp-welcome-trial-card {
  background: var(--tp-white, #fff);
  border-radius: var(--tp-radius-lg, 16px);
  border: 1px solid var(--tp-border-light, #f3f4f6);
  box-shadow: var(--tp-shadow-sm);
  padding: 28px;
}

.tp-trial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tp-trial-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tp-text-muted, #6b7280);
  text-transform: uppercase;
}

.tp-trial-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-text-light, #9ca3af);
}

.tp-trial-days {
  font-size: 28px;
  font-weight: 800;
  color: var(--tp-text-main, #22323d);
  margin: 0 0 4px;
  line-height: 1.2;
}

.tp-trial-dates {
  font-size: 13px;
  color: var(--tp-text-muted, #6b7280);
  margin: 0 0 18px;
}

.tp-trial-progress {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.tp-trial-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #5e9a90, #5e9a90);
  border-radius: 4px;
  transition: width 1.2s ease;
}

.tp-trial-note {
  font-size: 12px;
  color: var(--tp-text-light, #9ca3af);
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Review Card */
.tp-welcome-review-card {
  background: #f0fdf7;
  border-radius: var(--tp-radius-lg, 16px);
  border: 1px solid #d1fae5;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.tp-review-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ast-global-color-1);
  margin: 0 0 12px;
}

.tp-review-text {
  font-size: 14px;
  color: var(--tp-text-muted, #6b7280);
  line-height: 1.7;
  margin: 0 0 auto;
  padding-bottom: 16px;
}

.tp-review-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-review-status-icon {
  display: flex;
  align-items: center;
  color: var(--ast-global-color-1);
}

.tp-review-status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ast-global-color-1);
}

/* ---- Seamless Transition Section ---- */
.tp-welcome-transition {
  display: grid;
  grid-template-columns: 1.75fr 0.75fr;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 40px;
  background: linear-gradient(
    45deg,
    var(--e-global-color-astglobalcolor0) 0%,
    var(--e-global-color-astglobalcolor7) 100%
  );
  border-radius: 20px;
  align-items: center;
  margin-left: 20px;
  margin-right: 20px;
}

@media (min-width: 901px) {
  .tp-welcome-transition {
    margin-left: auto;
    margin-right: auto;
  }
}

.tp-transition-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}

.tp-transition-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0 0 8px;
}

.tp-transition-text strong {
  color: #fff;
}

.tp-transition-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0 0 24px;
}

.tp-transition-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-right: 8px;
}

.tp-transition-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

.tp-transition-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-shield-icon {
  width: 110px;
  height: 110px;
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid var(--ast-global-color-1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ast-global-color-1);
}

.tp-shield-icon svg {
  width: 52px;
  height: 52px;
}

/* ---- Feature Highlights ---- */
.tp-welcome-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 56px;
  /* padding: 0 20px; */
}

.tp-welcome-features > .tp-ready-title {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--tp-text-main, #22323d);
  margin: 0 0 8px;
}

.tp-feature-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--tp-white, #fff);
  border-radius: var(--tp-radius-lg, 16px);
  border: 1px solid var(--tp-border-light, #f3f4f6);
}

.tp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.tp-feature-icon--green {
  background: #e6faf0;
  color: var(--ast-global-color-1);
}

.tp-feature-icon--amber {
  background: #fef3c7;
  color: #d97706;
}

.tp-feature-icon--purple {
  background: var(--tp-primary-light, #f5f0f8);
  color: var(--tp-primary, #775498);
}

.tp-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp-text-main, #22323d);
  margin: 0 0 8px;
}

.tp-feature-desc {
  font-size: 13px;
  color: var(--tp-text-muted, #6b7280);
  line-height: 1.6;
  margin: 0;
}

/* ---- Ready To Go Section ---- */
.tp-welcome-ready {
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 40px;
  text-align: center;
  background: var(--tp-primary-light, #f5f0f8);
  border-radius: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

@media (min-width: 901px) {
  .tp-welcome-ready {
    margin-left: auto;
    margin-right: auto;
  }
}

.tp-ready-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--tp-text-main, #22323d);
  margin: 0 0 16px;
}

.tp-ready-text {
  font-size: 14px;
  color: var(--tp-text-muted, #6b7280);
  line-height: 1.7;
  margin: 0 0 8px;
}

.tp-ready-text:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--tp-text-main, #22323d);
}

/* ---- Welcome Footer ---- */
.tp-welcome-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px;
  border-top: 1px solid var(--tp-border-light, #f3f4f6);
}

.tp-footer-left p {
  font-size: 13px;
  color: var(--tp-text-light, #9ca3af);
  margin: 0;
}

.tp-footer-right {
  display: flex;
  gap: 24px;
}

.tp-footer-right a {
  font-size: 13px;
  color: var(--tp-text-muted, #6b7280);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tp-footer-right a:hover {
  color: var(--tp-primary, #775498);
}

/* ---- Responsive — Welcome Page ---- */
@media (max-width: 768px) {
  .tp-welcome-heading {
    font-size: 30px;
  }

  .tp-welcome-subheading {
    font-size: 14px;
  }

  .tp-welcome-actions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* .tp-welcome-actions-desc {
    display: none;
  } */

  .tp-welcome-status-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .tp-welcome-transition {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
    text-align: center;
  }

  .tp-transition-graphic {
    order: -1;
  }

  .tp-shield-icon {
    width: 80px;
    height: 80px;
  }

  .tp-shield-icon svg {
    width: 40px;
    height: 40px;
  }

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

  .tp-welcome-features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .tp-welcome-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .tp-footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .tp-welcome-hero {
    padding: 120px 16px 28px;
  }

  .tp-welcome-heading {
    font-size: 26px;
  }

  .tp-trial-days {
    font-size: 22px;
  }

  .tp-transition-title {
    font-size: 20px;
  }
}

/* ========================================
   Help Center Styling
   ======================================== */

/* Help Center Grid Styling */
.help-center-grid .elementor-post__card {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.help-center-grid .elementor-post__card:hover {
  transform: translateY(-5px);
}

/* Category Badge Styling */
.help-category-badge {
  background: #1d4ed8;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/*
.single-help_center .ast-site-header {
    display: none !important;
}

.single-help_center .entry-header {
    display: none !important;
}
*/

/* Single Article Breadcrumbs */
.help-article-breadcrumbs {
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280;
}

/* Help Center Sidebar Shortcode Styling */
.help-center-sidebar {
  padding: 10px 0;
}

.help-category-group {
  margin-bottom: 25px;
}

.help-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3f4f6;
  color: #111827;
}

.help-article-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.help-article-list li {
  margin-bottom: 6px;
  padding-left: 0;
}

.help-article-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #4b5563;
  text-decoration: none;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-article-list li a::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.help-article-list li a:hover {
  background: #f8fafc;
  border-color: var(--ast-global-color-0);
  color: var(--ast-global-color-0);
  transform: translateY(-1px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.help-article-list li a:hover::after {
  color: var(--ast-global-color-0);
  transform: translateX(4px);
}

/* ============================================================
   Help Center – All Articles Page (page-help-center.php)
   ============================================================ */

/* Wrapper */
.hc-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ---- Hero / Search ---- */
.hc-hero {
  text-align: center;
  padding: 56px 20px 48px;
}

.hc-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4; /* keep the h1 line-height now that the tag is h2 */
  color: #111827;
  margin: 0 0 12px;
}

.hc-hero__sub {
  font-size: 1.05rem;
  color: #6b7280;
  margin: 0 0 32px;
}

/* Search box */
.hc-search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.hc-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.hc-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 48px 14px 48px !important;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fff;
  color: #111827;
}

.hc-search-input:focus {
  border-color: var(--ast-global-color-0, #775498);
  box-shadow: 0 0 0 4px rgba(119, 84, 152, 0.12);
}

.hc-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 50%;
  transition:
    color 0.15s,
    background 0.15s;
}

.hc-search-clear:hover {
  color: #374151;
  background: #f3f4f6;
}

/* No results */
.hc-no-results {
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
  margin: 32px 0;
}

/* Empty state */
.hc-empty {
  text-align: center;
  color: #9ca3af;
  margin: 60px 0;
  font-size: 1rem;
}

/* ---- Category section ---- */
.hc-section {
  margin-bottom: 48px;
}

.hc-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

.hc-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #f3eeff;
  border-radius: 8px;
  color: var(--ast-global-color-0, #775498);
  flex-shrink: 0;
}

.hc-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  flex: 1;
}

.hc-section__count {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
}

/* ---- Article cards grid ---- */
.hc-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.hc-article-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: #374151;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.hc-article-card:hover {
  box-shadow: 0 6px 24px rgba(119, 84, 152, 0.1);
  border-color: var(--ast-global-color-0, #775498);
  transform: translateY(-2px);
  color: #111827;
}

.hc-article-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #f3eeff;
  border-radius: 10px;
  color: var(--ast-global-color-0, #775498);
  flex-shrink: 0;
  margin-top: 1px;
}

.hc-article-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hc-article-card__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.hc-article-card__excerpt {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.4;
}

.hc-article-card__arrow {
  color: #d1d5db;
  flex-shrink: 0;
  margin-top: 2px;
  transition:
    transform 0.2s,
    color 0.2s;
}

.hc-article-card:hover .hc-article-card__arrow {
  color: var(--ast-global-color-0, #775498);
  transform: translateX(3px);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .hc-articles-grid {
    grid-template-columns: 1fr;
  }

  .hc-hero {
    padding: 36px 12px 32px;
  }
}

.newsletter-form .wpcf7-not-valid-tip {
  display: none !important;
}

/* ========================================
   Pets Handled Multi-Chip Selector
   ======================================== */

.tp-chip-selector p {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tp-chip br {
  display: none;
}

.tp-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--tp-border);
  border-radius: 24px;
  background: var(--tp-white);
  color: var(--tp-text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: capitalize;
}

.tp-chip svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tp-chip:hover {
  border-color: var(--tp-primary);
  background: var(--tp-primary-light);
  color: var(--tp-primary);
}

.tp-chip[data-selected="true"] {
  border-color: var(--tp-primary);
  background: var(--tp-primary-light);
  color: var(--tp-primary);
  font-weight: 600;
}

.tp-chip[data-selected="true"] svg {
  color: var(--tp-primary);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .tp-chip-selector {
    gap: 10px;
  }

  .tp-chip {
    padding: 9px 14px;
    font-size: 13px;
    min-height: 44px;
  }

  .tp-chip svg {
    width: 16px;
    height: 16px;
  }
}

header.entry-header .entry-title {
    font-size: 2rem;
    display: block;
    font-weight: 600;
    margin-bottom: 0;
}

/* Marquee the "Welcome to TailPro!" text in the header builder's HTML-1
   element (Customizer: Header Builder → Above Header → HTML). CSS-only so
   it keeps working no matter what text is set there. */
.ast-header-html-1 .ast-builder-html-element {
    overflow: hidden;
    white-space: nowrap;
}
.ast-header-html-1 .ast-builder-html-element p {
    display: inline-block;
    margin: 0;
    padding-left: 100%;
    animation: tp-header-marquee 12s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .ast-header-html-1 .ast-builder-html-element p {
        animation: none;
        padding-left: 0;
    }
}
@keyframes tp-header-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Footer columns top-aligned on desktop (Astra desktop starts at 922px) */
@media (min-width: 922px) {
    .site-primary-footer-inner-wrap.ast-builder-grid-row {
        align-items: start !important;
    }
}

/* Footer widget 2 links: drop Astra's customizer link colour and inherit the text colour */
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] .footer-widget-area-inner a,
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner a {
    color: inherit !important;
}

/* FAQ accordion questions use an <h3> title tag (SEO); keep the accordion's text style, not the theme's h3 size/font. */
.elementor-accordion h3.elementor-tab-title {
	font-family: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: inherit;
}

/* Hero headings switched from h2 to h1 (one H1 per page): keep Astra's h2 size and breakpoints. Add the class in Elementor > Advanced > CSS Classes. */
.tp-h1-as-h2 h1.elementor-heading-title {
	font-size: 45px;
	line-height: 1.3em;
}
@media (max-width: 921px) {
	.tp-h1-as-h2 h1.elementor-heading-title { font-size: 32px; }
}
@media (max-width: 544px) {
	.tp-h1-as-h2 h1.elementor-heading-title { font-size: 26px; }
}
