nav {
  background-color: white;
}

.first-card {
  border-right: none;
}

.third-card {
  border-left: none;
}

.signup-btn {
  padding: 20px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.current-tier {
  background-color: #f77f00;
}

.recommended-tier {
  background-color: #f77f00;
}

.other-tier {
  background-color: white;
  color: #f77f00;
  border: 1px solid #f77f00;
}

.unavailable-tier {
  background-color: #d9d9d9;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

.unavailable-tier:hover {
  background-color: #d9d9d9;
  color: #999;
}

.bg-yellow-droplet {
  z-index: -1;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.signup-form {
  padding: 0 24px 24px 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f77f00;
  box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.btn-cancel,
.btn-submit {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-cancel {
  background-color: #f3f4f6;
  color: #374151;
}

.btn-cancel:hover {
  background-color: #e5e7eb;
}

.btn-submit {
  background-color: #f77f00;
  color: white;
}

.btn-submit:hover {
  background-color: #e06a00;
}

.btn-submit:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

/* Mobile responsiveness for modal */
@media (max-width: 640px) {
  .modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
  }

  .modal-header {
    padding: 20px 20px 0 20px;
  }

  .signup-form {
    padding: 0 20px 20px 20px;
  }

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

  .btn-cancel,
  .btn-submit {
    width: 100%;
  }
}

@media (width <= 1024px) {
  .challenges-dropdowns-container {
    width: 100%;
  }

  .pricing-cards-container {
    flex-direction: column;
  }

  .pricing-card {
    width: 453px;
    height: 610px;
    border-radius: 25px;
    position: relative;
  }

  .first-card,
  .third-card {
    border: 1px solid #d9d9d9;
  }

  .pricing-cards-container {
    gap: 48px;
  }

  .bg-yellow-droplet {
    right: 20vw;
    top: 16vw;
  }

  section.faq {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (width <= 640px) {
  #pricing-cards > div.pricing-cards-text > h1 > br,
  #pricing-cards > div.pricing-cards-text > p > br {
    display: block;
  }

  #pricing-cards > div.pricing-cards-text > h1,
  #pricing-cards > div.pricing-cards-text > p {
    text-align: center;
  }

  #pricing-cards > div.pricing-cards-text {
    margin-top: 48px;
  }

  section.faq {
    padding-block: 96px;
  }

  .blue-overlay {
    padding: 24px 28px;
  }
}

@media (width <= 480px) {
  .pricing-card {
    width: 319px;
    height: 638px;
    padding-left: 28px;
    padding-right: 28px;
  }
}

body > main > section.faq > div > div {
  width: 100%;
}
