/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;500;600;700&family=Poppins:wght@300;400;700&display=swap');



a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #007bff !important;
  outline-offset: 2px;
}

/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden !important;
    
  background-image: radial-gradient(circle 935px at 3.1% 5.8%, rgba(182, 255, 139, 1) 0%, rgba(8, 88, 127, 1) 100.2%);
  min-height: 100vh;  
}

          header, footer {
            display: none;
          }
          .form-check {
    border: 1px solid #EAEAEA;
    padding: 10px;
    background: #FFF;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
          }
          .form-check input {
    margin-left: 0 !important;
    margin-right: 5px;
    border: 1px solid #9b9595;
    width: 16px;
    height: 16px;
    position: relative;
    top:-2px;
          }
          h3 {
            font-weight: bold !important;
          }
          
          .request-h3{
            font-weight: bold;
            font-size: 22px;
          }
          .request-p{
            font-size: 16px;
          }
          .contact-form-sales {
            background: white;
            border-radius: 20px;
            padding: 1rem 2rem;
            margin: 2rem auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border: 1px solid #f0f0f0;
            margin-bottom: 8em;
            max-width: 1200px;
          }
          .consultant-photo {
            width: 85px;
            height: 85px;
            object-fit: cover;
            border: 4px solid #3b82f6;
            padding: 3px;
          }
          .verified-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: #3b82f6;
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
          }
          .form-section {
            background: #f8f9ff;
            border-radius: 15px;
            padding: 1.2rem 2rem;
            margin-bottom: 2rem;
            border: 1px solid #e6e9ef;
          }
          legend {
            font-weight: 600;
            color: #2d3958;
            font-size: 1.1rem;
            padding: 0 10px;
          }
          .form-control {
            border: 2px solid #e2e8f0;
            border-radius: 10px !important;
            padding: 14px 20px;
            transition: all 0.3s ease;
          }
          .form-control:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
          }
          .input-group {
            position: relative;
            margin-bottom: 1rem;
          }
          /* Floating Label Styles */
          .floating-label-group {
            position: relative;
          }
          .tool-tip-float{
    position: absolute;
    z-index: 12;
    right: -5px;
    top: -15px;
    font-size: 18px;
    color: #03A9F4;
          }
.floating-label-group label {
  position: absolute;
  left: 20px;
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all 0.2s ease-out;
  color: #94a3b8;
  z-index: 222;
  max-width: 78%;
  width: auto;
  /* Prevent line wrapping and add ellipsis for overflowing text */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
          .floating-label-group input:focus + label,
          .floating-label-group input:not(:placeholder-shown) + label,
          .floating-label-group textarea:focus + label,
          .floating-label-group textarea:not(:placeholder-shown) + label {
    top: -2px;
    left: 16px;
    font-size: 13px;
    color: #3b82f6;
    background: #fff;
    padding: 2px 11px;
    z-index: 22;
          }
          .icon {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 1.1rem;
          }
          .choice-grid {
            display: flex;
            gap: 1rem;
          }
          .choice-item {
            position: relative;
            flex: 1;
          }
          /* Hide the radio button itself */
          .choice-item input {
            display: none;
          }
          /* Style the label as a clickable square */
          .choice-item label {
            display: block;
            width: 100%;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 220px
          }
          /* Highlight the selected option */
          .choice-item input:checked + label {
            border-color: #4CAF50;
            background: #FFF;
            transform: translateY(-2px);
          }
          .choice-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            color: #475569;
          }
          .choice-content span{
            font-size: 1.4em;
            font-weight: bold;
          }
          .choice-content i {
            font-size: 2.8rem;
            color: #3b82f6;
          }
          .submit-btn {
            background: #3b82f6;
            color: white;
            padding: 16px 40px;
            border-radius: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
          }
          .submit-btn:hover {
            background: #2563eb;
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
          }
          .submit-btn i {
            transition: transform 0.3s ease;
          }
          .submit-btn:hover i {
            transform: translateX(3px);
          }
          .is-invalid {
            border-color: #ef4444 !important;
            background: #fff5f5;
          }
          .is-valid {
            border-color: #22c55e !important;
          }
          #schoolDataContainer h5{
            margin-bottom: 1em;
          }

.pricing-card {
  max-width: 400px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
position: sticky;
    top: 0;  
}

.pricing-card:hover {
  transform: translateY(-2px);
}

.pricing-header {
    padding: 1.2rem;
    background: linear-gradient(135deg, #4CAF50 0%, #8ac743 100%);
    color: white;
    text-align: center;
}

.btn-primary, .btn-secondary{
  min-width: 150px;
    margin-bottom: 10px;
    min-height: 50px;
}

.pricing-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.total-amount {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.price-breakdown {
  padding: 1.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.price-item:last-child {
  border-bottom: none;
}

.price-item span {
  font-weight: 500;
  color: #333;
}

.price-details {
  text-align: right;
}

    /* Progress Bar Styles */
    .progress {
      height: 20px;
      margin-bottom: 1.5rem;
    }
    .progress-bar {
      font-weight: bold;
      text-align: center;
      line-height: 20px;
    }
    /* Multi-step Fieldset Styles */
    fieldset.step {
      display: none;
    }
    fieldset.step.active {
      display: block;
      animation: fadeIn 0.5s ease-in-out forwards;
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    /* Navigation Buttons for Steps */
    .step-nav {
      margin-top: 1rem;
      display: flex;
      justify-content: space-between;
    }
    /* Pricing Simulation Card Styles */
    .pricing-card {
      max-width: 100%;
      background: #ffffff;
      border-radius: 16px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      transition: transform 0.3s ease;
      margin-bottom: 1rem;
    }
    .pricing-card:hover {
      transform: translateY(-2px);
    }
    .pricing-header {
      padding: 1.5rem;
      background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
      color: #ffffff;
      text-align: center;
    }
    .pricing-header h3 {
      margin: 0;
      font-size: 1.2rem;
      font-weight: 500;
      opacity: 0.9;
    }
    .total-amount {
      font-size: 2rem;
      font-weight: 600;
      margin-top: 0.5rem;
      transition: all 0.3s ease;
    }
    .price-breakdown {
      padding: 1.5rem;
    }
    .price-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 0;
      border-bottom: 1px solid #f0f0f0;
    }
    .price-item:last-child {
      border-bottom: none;
    }
    .price-details {
      text-align: right;
    }
    .price-details small {
      display: block;
      font-size: 0.85rem;
      color: #666;
      margin-bottom: 0.25rem;
    }
    .item-total {
      color: #10b981;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    #schoolGroupSimulationPrice{
      width: 320px;
      margin-left: 3em;
    }
.price-details small {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.item-total {
  color: #10b981;
  font-weight: 600;
  transition: all 0.3s ease;
}

.teacher-accounts-disabled, .teacher-accounts-disabled:hover, .teacher-accounts-disabled:active, .teacher-accounts-disabled:focus{
  background: #EAEAEA;
}

.price-note {
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}
.school-info-note {
    background-color: #e8f3ff;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.school-info-note ul {
  list-style-type: none;
  padding-left: 20px;
  margin: 0;
}

.school-info-note li {
  margin-bottom: 0px;
  line-height: 1.6;
}

.info-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 5px;
}

.info-link:hover {
  text-decoration: underline;
}

.action-link {
  color: #28a745;
  cursor: pointer;
  font-weight: 500;
  margin-left: 5px;
  text-decoration: none;
}

.action-link:hover {
  text-decoration: underline;
}

.addon-card {
  position: relative;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background: #FFFFFF;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.addon-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.addon-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.addon-card.selected {
    background-color: #F8FAFC;
    border: 1px solid green;
    border-radius: 4px;
}
/* Checkbox corrigido */
.addon-content .form-check-input {
    width: 100%;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    margin-top: 3px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;
    pointer-events: none;
}


.addon-icon {
  background: #EFF6FF;
  border-radius: 6px;
  padding: 8px;
  margin:10px;
}
.addon-icon img{
  width: 120px;
}

.addon-text {
  flex-grow: 1;
}

.addon-title {
  color: #1E293B;
  font-weight: 600;
  margin-bottom: 4px;
}

.addon-price {
  color: #059669;
  font-weight: 500;
  font-size: 0.95em;
  margin-bottom: 8px;
}

.addon-description {
  color: #64748B;
  font-size: 0.9em;
  line-height: 1.5;
}
          @media (max-width: 768px) {
            .contact-form-sales {
              padding: 1.5rem;
              border-radius: 15px;
            }
            .consultant-photo {
              width: 100px;
              height: 100px;
            }
            .choice-grid {
              grid-template-columns: 1fr;
            }
          }
          .custom-alert-warning {
    display: block !important;
    background-color: #c1ffe2;
    border-color: #b3ffdc;
    color: #00351c;
    padding: 1rem 10px;
    border-radius: 8px;
    border-left: 6px solid #15b756;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
          }

          .custom-alert-warning .bi {
            flex-shrink: 0;
            font-size: 1.5rem;
          }

          .custom-alert-warning:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
          }

          /* Acessibilidade - Garante contraste adequado */
          @media (prefers-reduced-motion: reduce) {
            .custom-alert-warning {
              transition: none;
            }
          }      


.flex-header{
  padding: 0.5em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #FFF;
    
}
.consultant-header{
  display: flex;
  align-items: center;
}
.bart-consultant{
  display: flex;
  flex-direction: column;
  margin-left: 1em;
}
  .custom-select-wrapper {
    position: relative;
  }

  .original-select {
    display: none;
  }

  .custom-dropdown {
    position: relative;
    width: 100%;
  }

  .dropdown-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .dropdown-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
  }

  .dropdown-list {
    position: absolute;
    width: auto;
    min-width: 300px;
    max-height: 250px;
    overflow-y: auto;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    z-index: 1000;
    margin-top: -12px;
    display: none;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
  }

  .dropdown-item:hover {
    background-color: #f8f9ff;
  }

  .dropdown-item.selected {
    background-color: #f0f6ff;
    color: #3b82f6;
    font-weight: 500;
  }

  .loading-message {
    padding: 12px 20px;
    color: #94a3b8;
    font-style: italic;
  }
.dropdown-item[data-value="US"]::after {
  content: " ★";
  color: gold;
  margin-left: 5px;
}          

@media (max-width: 767px) {
  .flex-header{
    flex-direction: column;
    gap:5px;
  }
  .form-section{
    padding: 1em 10px;
  }
  .floating-label-group label, .form-control{
    font-size: 14px;
  }
  #logo{
    display: none;
  }


}