.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #188f8b;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8fbfa;
}

.faq-question h3 {
  margin: 0;
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  padding-right: 1rem;
}

.faq-question i {
  color: #188f8b;
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background-color: #f8fbfa;
  border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: #4a5568;
  line-height: 1.6;
  font-size: 1rem;
}

.faq-item.active .faq-question {
  background-color: #f8fbfa;
  border-bottom: none;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 1rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem;
  }
}

/* Disclaimer Styles */
.disclaimer-section {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-card {
  background: linear-gradient(135deg, #fff5cd 0%, #fff9e6 100%);
  border: 2px solid #f6d55c;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(246, 213, 92, 0.15);
  margin: 2rem 0;
}

.disclaimer-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f6d55c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.disclaimer-icon i {
  color: #8b5a00;
  font-size: 1.2rem;
}

.disclaimer-content h4 {
  margin: 0 0 1rem 0;
  color: #8b5a00;
  font-size: 1.2rem;
  font-weight: 700;
}

.disclaimer-content p {
  margin: 0;
  color: #6b4900;
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .disclaimer-section {
    padding: 0 1rem;
  }

  .disclaimer-card {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .disclaimer-icon {
    align-self: center;
    margin-bottom: 0.5rem;
  }

  .disclaimer-content h4 {
    font-size: 1.1rem;
  }

  .disclaimer-content p {
    font-size: 0.9rem;
  }
}
.acct-type-btn {
  background: white;
  border: 2px solid #c4cdd6;
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
  min-height: 112px;
  box-sizing: border-box;
}
.acct-type-btn:hover {
  border-color: rgba(0, 79, 77, 0.35);
  background: #f0fdf4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.acct-type-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 79, 77, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #004f4d;
  margin-bottom: 0.5rem;
}
.acct-type-label {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.acct-type-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}
/* Tighter spacing overrides */
#accountTypeModal .auth-modal-body > p:first-child {
  margin-bottom: 0.7rem !important;
}
#accountTypeModal .auth-modal-body > div:nth-child(2) {
  margin-bottom: 0.9rem !important;
}
/* Softer close button */
#accountTypeModal .auth-modal-close {
  top: 18px;
  opacity: 0.7;
}

.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.auth-modal-header {
  padding: 20px 20px 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.auth-modal-header h3,
.auth-modal-header h2 {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  color: #004f4d;
  font-size: 1.5rem;
  pointer-events: none;
}
.auth-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-modal-close:hover {
  color: #004f4d;
}
.auth-modal-body {
  padding: 20px;
}
.auth-form {
  display: none;
}
.auth-form.active {
  display: block;
}
.auth-form .form-group {
  margin-bottom: 20px;
}
.auth-form label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}
.auth-form input,
.auth-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}
.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: #004f4d;
  box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}
.auth-btn-primary {
  width: 100%;
  background: #004f4d;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
}
.auth-btn-primary:hover {
  background: #188f8b;
}
.auth-btn-secondary {
  width: 100%;
  background: transparent;
  color: #004f4d;
  padding: 12px;
  border: 2px solid #004f4d;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.auth-btn-secondary:hover {
  background: #004f4d;
  color: white;
}
.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}
.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
}
.auth-divider span {
  background: white;
  padding: 0 15px;
  color: #666;
}
