/* TheraPlatform Free Trial Page Styles */

/* Layout and Background */
.free-trial-section {
  background-color: #FBFAFE;
}

.free-trial-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 72rem; /* max-w-6xl */
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .free-trial-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Header Styling */
.free-trial-header {
  text-align: center;
}

.free-trial-logo {
  margin-left: auto;
  margin-right: auto;
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .free-trial-logo {
    height: 3rem;
  }
}

.free-trial-title {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2B1645;
}

@media (min-width: 768px) {
  .free-trial-title {
    font-size: 1.875rem;
  }
}

.free-trial-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #7A6F8E;
}

@media (min-width: 768px) {
  .free-trial-subtitle {
    font-size: 1rem;
  }
}

/* Stepper Styling (already included in stepper.css) */
.free-trial-stepper-container {
  margin-top: 1.5rem;
}

/* Content Layout */
.free-trial-content {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .free-trial-content {
    margin-top: 3.5rem;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Left Side - Testimonial and Awards */
.free-trial-aside {
  order: 2;
}

@media (min-width: 768px) {
  .free-trial-aside {
    order: 1;
  }
}

.free-trial-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #6D5A90;
}

.free-trial-testimonial {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  background-color: white;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.free-trial-testimonial-image {
  height: 5rem;
  width: 5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.free-trial-testimonial-content {
  color: #3B2A5A;
}

.free-trial-quote-icon {
  height: 1.25rem;
  width: 1.25rem;
  opacity: 0.6;
}

.free-trial-testimonial-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
}

.free-trial-testimonial-author {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #8A7DA5;
}

.free-trial-awards-title {
  margin-top: 2rem;
}

.free-trial-awards-image {
  margin-top: 0.75rem;
  height: auto;
  width: 100%;
  max-width: 28rem;
}

/* Right Side - Form */
.free-trial-form-container {
  order: 1;
}

@media (min-width: 768px) {
  .free-trial-form-container {
    order: 2;
  }
}

.validation-message {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e11d48; /* rose-600 */
}

.referral-notice {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #fcd34d; /* amber-200 */
  background-color: #fffbeb; /* amber-50 */
  padding: 0.75rem;
  color: #78350f; /* amber-900 */
}

/* Form Inputs */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3B2A5A;
}

.form-input {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #E5E0EF;
  background-color: white;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #2B1645;
  height: 38px;
  line-height: 1.5;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #7C4DFF;
}

.form-select {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #E5E0EF;
  background-color: white;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #2B1645;
  height: 38px;
  line-height: 1.5;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232B1645' 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 0.75rem center;
  background-size: 16px 16px;
}

.form-select:focus {
  outline: none;
  border-color: #7C4DFF;
  box-shadow: 0 0 0 2px #7C4DFF;
}

.phone-hint {
  font-size: 0.75rem;
  color: #8A7DA5;
}

.phone-grid {
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .phone-grid {
    grid-template-columns: 1fr 4fr;
  }
}

/* Country dropdown specific styling */
.country-select {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #E5E0EF;
  background-color: white;
  padding: 0.6rem 0.75rem;
  color: #2B1645;
  height: 42px;
  line-height: 1.5;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232B1645' 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 0.75rem center;
  background-size: 16px 16px;
}

.country-select:focus {
  outline: none;
  border-color: #7C4DFF;
  box-shadow: 0 0 0 2px #7C4DFF;
}

/* Button */
.free-trial-button-container {
  margin-top: 1.5rem;
  text-align: center;
}

.free-trial-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: #7C4DFF;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.free-trial-button:hover {
  background-color: #6E3EFF;
}

.free-trial-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #B39DFF;
}

@media (min-width: 768px) {
  .free-trial-button {
    width: auto;
  }
}

/* Footer */
.free-trial-footer {
  margin-top: 2rem;
  border-top: 1px solid #E9E4F3;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6D5A90;
}

.free-trial-link {
  font-weight: 500;
  color: #7C4DFF;
}

.free-trial-link:hover {
  text-decoration: underline;
}

.free-trial-trusted {
  margin-top: 2rem;
}
