/* =====================================================
   Advanced Profile Modal Overrides
   (Extends base profile-popup.css)
===================================================== */

#botkid-advanced-profile-modal .botkid-modal-card {
  width: 100%;
  max-width: 820px;          /* Advanced = wider */
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   Step Container (scroll inside modal)
===================================================== */
#botkid-advanced-profile-modal .botkid-step {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

/* =====================================================
   Fields (inherit base, minor spacing tweak)
===================================================== */
#botkid-advanced-profile-modal .botkid-field {
  margin-bottom: 18px;
}

/* =====================================================
   Options (checkbox / radio)
===================================================== */
#botkid-advanced-profile-modal .botkid-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

#botkid-advanced-profile-modal .botkid-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

#botkid-advanced-profile-modal .botkid-options input {
  accent-color: var(--botkid-primary);
}

/* =====================================================
   Footer (visual separation)
===================================================== */
#botkid-advanced-profile-modal .botkid-modal-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: 24px;
}

/* =====================================================
   Extra-large Desktop Enhancement
===================================================== */
@media (min-width: 1200px) {

  #botkid-advanced-profile-modal .botkid-modal-card {
    max-width: 900px;
    padding: 44px 48px;
  }

  #botkid-advanced-profile-modal .botkid-modal-header h3 {
    font-size: 24px;
    line-height: 1.35;
  }

  #botkid-advanced-profile-modal .botkid-modal-header p {
    font-size: 17px;
    line-height: 1.65;
    max-width: 90%;
  }

  #botkid-advanced-profile-modal .botkid-field label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  #botkid-advanced-profile-modal .botkid-field input,
  #botkid-advanced-profile-modal .botkid-field select,
  #botkid-advanced-profile-modal .botkid-field textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  #botkid-advanced-profile-modal .botkid-options label {
    font-size: 16px;
  }

  #botkid-advanced-profile-modal .botkid-modal-footer {
    margin-top: 36px;
  }
}

/* =====================================================
   Mobile (full-screen feel)
===================================================== */
@media (max-width: 640px) {

  #botkid-advanced-profile-modal .botkid-modal-card {
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 24px 20px;
  }

  #botkid-advanced-profile-modal .botkid-options {
    grid-template-columns: 1fr;
  }
}
