.gradient {
    /* Paleta energética laranja → rosa */
    background: linear-gradient(90deg, #f97316 0%, #ec4899 100%);
  }

.pre-filter-page {
  min-height: 100vh;
  margin-top: 5rem;
  padding: 2rem 1rem 2rem;
  background: radial-gradient(ellipse at 12% 0%, #ffedd5 0%, transparent 40%),
              radial-gradient(ellipse at 90% 15%, #fce7f3 0%, transparent 40%),
              #fffaf8;
  color: #292524;
}

.pre-filter-page [hidden] { display: none !important; }
.pre-filter-shell { max-width: 860px; margin: 0 auto; }
.pre-filter-intro { max-width: 660px; margin: 0 auto 1.5rem; text-align: center; }
.pre-filter-eyebrow, .pre-filter-kicker {
  color: #c2410c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.pre-filter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .85rem;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
}
.pre-filter-intro h1 {
  margin: 1rem 0 .7rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.pre-filter-intro h1 span { color: #ea580c; }
.pre-filter-intro p { color: #78716c; font-size: 1rem; line-height: 1.6; }
.pre-filter-card {
  overflow: hidden;
  border: 1px solid #f5e6df;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 24px 70px -24px rgba(120, 53, 15, .24);
}
.pre-filter-progress { padding: 1.5rem 2rem 1.25rem; border-bottom: 1px solid #f5f0ed; }
.pre-filter-progress-header { display: flex; justify-content: space-between; gap: .75rem; color: #a8a29e; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.pre-filter-progress-header span:last-child { color: #c2410c; letter-spacing: 0; white-space: nowrap; }
.pre-filter-progress-track { height: 6px; margin-top: .8rem; overflow: hidden; border-radius: 999px; background: #f5f5f4; }
.pre-filter-progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f97316, #ec4899); transition: width .25s ease; }
.pre-filter-steps { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.pre-filter-steps li { display: flex; align-items: center; gap: .4rem; color: #a8a29e; font-size: .75rem; font-weight: 600; }
.pre-filter-step-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #e7e5e4; }
.pre-filter-steps .is-current { color: #c2410c; }
.pre-filter-steps .is-current .pre-filter-step-dot, .pre-filter-steps .is-complete .pre-filter-step-dot { background: #f97316; }
.pre-filter-content { padding: 2rem; }
.pre-filter-section-heading { display: flex; align-items: flex-start; gap: 1rem; }
.pre-filter-section-icon, .pre-filter-option-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #fff7ed;
}
.pre-filter-section-icon { width: 3.5rem; height: 3.5rem; font-size: 1.6rem; }
.pre-filter-section-heading h2 { margin: .25rem 0 .4rem; color: #292524; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.pre-filter-section-heading h2:focus { outline: none; }
.pre-filter-section-heading h2:focus-visible { outline: 2px solid #ea580c; outline-offset: 4px; border-radius: .2rem; }
.pre-filter-section-heading p { color: #78716c; font-size: .9rem; line-height: 1.5; }
.pre-filter-options { display: grid; gap: .75rem; margin-top: 1.75rem; }
.pre-filter-options-goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pre-filter-options-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pre-filter-option { position: relative; display: block; min-width: 0; cursor: pointer; }
.pre-filter-option input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pre-filter-option-card, .pre-filter-region-card { border: 1.5px solid #e7e5e4; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.pre-filter-option-card { position: relative; display: flex; min-height: 126px; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1rem; border-radius: 1rem; }
.pre-filter-option:hover .pre-filter-option-card, .pre-filter-option:hover .pre-filter-region-card { border-color: #fdba74; background: #fffaf5; }
.pre-filter-option input:checked + .pre-filter-option-card, .pre-filter-option input:checked + .pre-filter-region-card { border-color: #f97316; background: #fff7ed; box-shadow: 0 0 0 1px #f97316; }
.pre-filter-option input:focus-visible + .pre-filter-option-card, .pre-filter-option input:focus-visible + .pre-filter-region-card { outline: 3px solid #c2410c; outline-offset: 3px; }
.pre-filter-option-icon { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
.pre-filter-option-text { display: flex; flex-direction: column; gap: .2rem; line-height: 1.25; }
.pre-filter-option-text strong { color: #292524; font-size: .9rem; }
.pre-filter-option-text small { color: #78716c; font-size: .75rem; }
.pre-filter-check { display: flex; flex: none; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border: 1px solid #d6d3d1; border-radius: 50%; color: transparent; font-size: .7rem; }
.pre-filter-option-card .pre-filter-check { position: absolute; top: 1rem; right: 1rem; }
.pre-filter-option input:checked + span .pre-filter-check { border-color: #ea580c; background: #ea580c; color: #fff; }
.pre-filter-note { display: flex; gap: .5rem; margin-top: 1.25rem; padding: .85rem 1rem; border-radius: .75rem; background: #fafaf9; color: #78716c; font-size: .8rem; line-height: 1.5; }
.pre-filter-note span { color: #c2410c; font-weight: 700; }
.pre-filter-search { margin-top: 1.75rem; }
.pre-filter-search label { display: block; margin-bottom: .5rem; color: #57534e; font-size: .8rem; font-weight: 700; }
.pre-filter-search-field { position: relative; }
.pre-filter-search-field svg { position: absolute; top: 50%; left: 1rem; width: 1.15rem; height: 1.15rem; transform: translateY(-50%); color: #a8a29e; pointer-events: none; }
.pre-filter-search-field input { width: 100%; padding: .8rem 1rem .8rem 2.75rem; border: 1px solid #e7e5e4; border-radius: .8rem; background: #fafaf9; color: #292524; font-size: .9rem; }
.pre-filter-search-field input:focus { border-color: #f97316; outline: 2px solid #ffedd5; outline-offset: 1px; }
.pre-filter-empty { margin-top: .75rem; color: #78716c; font-size: .85rem; }
.pre-filter-region-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; max-height: 20rem; overflow-y: auto; margin-top: 1rem; padding: 3px; }
.pre-filter-region-card { display: flex; min-height: 3.3rem; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem; border-radius: .75rem; color: #44403c; font-size: .85rem; font-weight: 600; }
.pre-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 2rem; border-top: 1px solid #f5f0ed; background: #fffdfc; }
.pre-filter-actions-right { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; margin-left: auto; }
.pre-filter-back, .pre-filter-all { color: #78716c; font-size: .875rem; font-weight: 700; text-decoration: none; }
.pre-filter-back:hover, .pre-filter-all:hover { color: #c2410c; }
.pre-filter-back span { margin-right: .25rem; }
.pre-filter-primary { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3rem; padding: .8rem 1.4rem; border-radius: .8rem; background: linear-gradient(110deg, #ea580c, #db2777); color: #fff; font-size: .875rem; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(234, 88, 12, .55); transition: box-shadow .2s, transform .2s; }
.pre-filter-primary:hover { box-shadow: 0 10px 22px -6px rgba(234, 88, 12, .6); transform: translateY(-1px); }
.pre-filter-back:focus-visible, .pre-filter-all:focus-visible, .pre-filter-primary:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.pre-filter-footer { margin-top: 1.5rem; color: #a8a29e; font-size: .8rem; text-align: center; }
.pre-filter-footer span { color: #f97316; }

@media (min-width: 641px) and (max-height: 950px) {
  .pre-filter-page { padding-top: 1rem; }
  .pre-filter-intro { margin-bottom: 1rem; }
  .pre-filter-intro h1 { margin: .6rem 0 .4rem; font-size: 2.4rem; }
  .pre-filter-progress { padding: 1rem 1.5rem; }
  .pre-filter-content { padding: 1.25rem 1.5rem; }
  .pre-filter-options, .pre-filter-search { margin-top: 1rem; }
  .pre-filter-option-card { min-height: 100px; gap: .5rem; padding: .75rem; }
  .pre-filter-option-icon { width: 2rem; height: 2rem; font-size: 1rem; }
  .pre-filter-note { margin-top: .8rem; }
  .pre-filter-region-list { max-height: 13rem; }
  .pre-filter-actions { padding: .8rem 1.5rem; }
}

@media (max-width: 640px) {
  .pre-filter-page { margin-top: 4.5rem; padding: 1rem 1rem 1.25rem; }
  .pre-filter-intro { margin-bottom: 1rem; }
  .pre-filter-eyebrow { display: none; }
  .pre-filter-intro h1 { margin: .6rem 0 .4rem; font-size: 1.65rem; }
  .pre-filter-intro p { font-size: .85rem; }
  .pre-filter-progress, .pre-filter-content { padding: 1rem; }
  .pre-filter-progress-header { font-size: .65rem; }
  .pre-filter-progress-track { margin-top: .6rem; }
  .pre-filter-steps { margin-top: .7rem; }
  .pre-filter-steps li { gap: .25rem; font-size: .65rem; }
  .pre-filter-section-heading { gap: .75rem; }
  .pre-filter-section-icon { width: 2.75rem; height: 2.75rem; font-size: 1.3rem; border-radius: .8rem; }
  .pre-filter-section-heading h2 { font-size: 1.25rem; }
  .pre-filter-section-heading p { font-size: .8rem; }
  .pre-filter-options, .pre-filter-search { margin-top: 1rem; }
  .pre-filter-options-goals, .pre-filter-options-times, .pre-filter-region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pre-filter-option-card { min-height: 76px; gap: .35rem; padding: .6rem .75rem; }
  .pre-filter-option-icon { width: 1.75rem; height: 1.75rem; font-size: 1rem; border-radius: .55rem; }
  .pre-filter-option-text strong { font-size: .8rem; }
  .pre-filter-option-text small { display: none; }
  .pre-filter-option-card .pre-filter-check { top: .6rem; right: .75rem; }
  .pre-filter-note { margin-top: .8rem; padding: .6rem .75rem; font-size: .75rem; }
  .pre-filter-region-list { max-height: 12rem; }
  .pre-filter-actions { padding: .8rem 1rem; }
  .pre-filter-actions-right { gap: .8rem; }
  .pre-filter-primary { gap: .5rem; padding: .75rem .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pre-filter-progress-fill, .pre-filter-option-card, .pre-filter-region-card, .pre-filter-primary { transition: none; }
  .pre-filter-primary:hover { transform: none; }
}

.signup-page, .trainer-dashboard {
  background: radial-gradient(ellipse at 15% 0%, #ffedd5 0%, transparent 42%),
              radial-gradient(ellipse at 85% 15%, #fce7f3 0%, transparent 42%), #fffaf8;
}
.trainer-dashboard { min-height: 100vh; }
.signup-page {
  min-height: 100vh;
  margin-top: 5rem;
  padding: 2rem 1rem 3rem;
  color: #292524;
}
.signup-page [hidden] { display: none !important; }
.signup-shell { max-width: 680px; margin: 0 auto; }
.signup-intro { margin-bottom: 1.5rem; text-align: center; }
.signup-eyebrow, .signup-kicker { color: #c2410c; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.signup-eyebrow { display: inline-block; padding: .5rem .85rem; border: 1px solid #fed7aa; border-radius: 999px; background: rgba(255,255,255,.75); }
.signup-intro h1 { margin: .8rem 0 .4rem; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.signup-intro h1 span { color: #ea580c; }
.signup-intro p { color: #78716c; font-size: .95rem; line-height: 1.5; }
.signup-card { overflow: hidden; border: 1px solid #f5e6df; border-radius: 1.5rem; background: #fff; box-shadow: 0 24px 70px -24px rgba(120,53,15,.24); }
.signup-progress { padding: 1.5rem 2rem 1.25rem; border-bottom: 1px solid #f5f0ed; }
.signup-progress-header { display: flex; justify-content: space-between; gap: .75rem; color: #a8a29e; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.signup-progress-header span:last-child { color: #c2410c; letter-spacing: 0; white-space: nowrap; }
.signup-progress-track, .signup-strength-track { overflow: hidden; border-radius: 999px; background: #f5f5f4; }
.signup-progress-track { height: 6px; margin-top: .8rem; }
.signup-progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f97316, #ec4899); transition: width .25s ease; }
.signup-steps { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.signup-steps li { display: flex; align-items: center; gap: .4rem; color: #a8a29e; font-size: .75rem; font-weight: 600; }
.signup-steps li span { width: .5rem; height: .5rem; border-radius: 50%; background: #e7e5e4; }
.signup-steps .is-current { color: #c2410c; }
.signup-steps .is-current span, .signup-steps .is-complete span { background: #f97316; }
.signup-content { padding: 2rem; }
.signup-step-spaced { margin-top: 2rem; }
.signup-progress:not([hidden]) + .signup-content .signup-step-spaced { margin-top: 0; }
.signup-heading { display: flex; align-items: flex-start; gap: 1rem; }
.signup-icon, .signup-profile-icon { display: flex; flex: none; align-items: center; justify-content: center; border-radius: 1rem; background: #fff7ed; }
.signup-icon { width: 3.5rem; height: 3.5rem; font-size: 1.6rem; }
.signup-heading h2 { margin: .25rem 0 .4rem; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.signup-heading h2:focus { outline: none; }
.signup-heading h2:focus-visible { outline: 2px solid #c2410c; outline-offset: 4px; }
.signup-heading p { color: #78716c; font-size: .9rem; line-height: 1.5; }
.signup-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.75rem; padding: 0; border: 0; }
.signup-sr-only, .signup-profile input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.signup-profile { position: relative; cursor: pointer; }
.signup-profile-card { position: relative; display: flex; height: 100%; min-height: 150px; flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1rem; border: 1.5px solid #e7e5e4; border-radius: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.signup-profile:hover .signup-profile-card { border-color: #fdba74; background: #fffaf5; }
.signup-profile input:checked + .signup-profile-card { border-color: #f97316; background: #fff7ed; box-shadow: 0 0 0 1px #f97316; }
.signup-profile input:focus-visible + .signup-profile-card { outline: 3px solid #c2410c; outline-offset: 3px; }
.signup-profile-icon { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
.signup-profile-card strong, .signup-profile-card small { display: block; }
.signup-profile-card strong { padding-right: 1rem; font-size: .95rem; }
.signup-profile-card small { margin-top: .3rem; color: #78716c; font-size: .8rem; line-height: 1.4; }
.signup-profile-check { position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border: 1px solid #d6d3d1; border-radius: 50%; color: transparent; font-size: .7rem; }
.signup-profile input:checked + span .signup-profile-check { border-color: #ea580c; background: #ea580c; color: #fff; }
.signup-note { margin-top: 1rem; padding: .8rem 1rem; border-radius: .75rem; background: #fff7ed; color: #9a3412; font-size: .8rem; line-height: 1.5; }
.signup-fields { display: grid; gap: 1.2rem; margin-top: 1.75rem; }
.signup-fields label { display: block; margin-bottom: .5rem; color: #44403c; font-size: .85rem; font-weight: 700; }
.signup-fields input { width: 100%; min-height: 3rem; padding: .75rem 1rem; border: 1px solid #d6d3d1; border-radius: .75rem; background: #fafaf9; color: #292524; font-size: .95rem; }
.signup-fields input:focus { border-color: #ea580c; outline: 2px solid #ffedd5; outline-offset: 1px; }
.signup-fields input::placeholder { color: #a8a29e; }
.signup-field-hint { margin-top: .5rem; color: #78716c; font-size: .75rem; line-height: 1.5; }
.signup-strength { margin-top: .8rem; }
.signup-strength-label { display: flex; justify-content: space-between; color: #78716c; font-size: .75rem; }
.signup-strength-label strong { color: #c2410c; }
.signup-strength-track { height: 5px; margin-top: .4rem; }
.signup-strength-track div { height: 100%; background: linear-gradient(90deg, #f97316, #ec4899); transition: width .2s; }
.signup-errors { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid #fecaca; border-radius: .75rem; background: #fef2f2; color: #991b1b; font-size: .85rem; }
.signup-errors h2 { font-weight: 700; }
.signup-errors ul { margin: .5rem 0 0; padding-left: 1.25rem; list-style: disc; }
.signup-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 2rem; border-top: 1px solid #f5f0ed; background: #fffdfc; }
.signup-back { color: #78716c; font-size: .875rem; font-weight: 700; }
.signup-back:hover { color: #c2410c; }
.signup-primary { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3rem; margin-left: auto; padding: .8rem 1.4rem; border-radius: .8rem; background: linear-gradient(110deg, #ea580c, #db2777); color: #fff; font-size: .875rem; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(234,88,12,.55); }
.signup-primary:hover { box-shadow: 0 10px 22px -6px rgba(234,88,12,.6); }
.signup-back:focus-visible, .signup-primary:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.signup-login { margin-top: 1.5rem; color: #78716c; font-size: .875rem; text-align: center; }
.signup-login a { color: #c2410c; font-weight: 700; }
.signup-login a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .signup-page { margin-top: 4.5rem; padding: 1.25rem 1rem 2rem; }
  .signup-eyebrow { display: none; }
  .signup-intro h1 { font-size: 1.8rem; }
  .signup-intro p { font-size: .85rem; }
  .signup-progress, .signup-content { padding: 1.25rem; }
  .signup-heading { gap: .75rem; }
  .signup-icon { width: 2.75rem; height: 2.75rem; border-radius: .8rem; font-size: 1.3rem; }
  .signup-heading h2 { font-size: 1.3rem; }
  .signup-profiles { gap: .6rem; margin-top: 1.25rem; }
  .signup-profile-card { min-height: 150px; padding: .75rem; }
  .signup-profile-card strong { font-size: .85rem; }
  .signup-profile-card small { font-size: .75rem; }
  .signup-actions { padding: 1rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .signup-progress-fill, .signup-profile-card, .signup-strength-track div { transition: none; }
}

.student-profile-content { padding: 2rem 2rem 0; }
.student-profile .student-profile-form { margin: 0; padding: 1.5rem 2rem 0; }
.student-profile .student-profile-subtitle { border: 0; padding: 0; color: #292524; font-size: 1rem; font-weight: 800; }
.student-profile .student-profile-sex { min-width: 0; border: 0; padding: 0; }
.student-profile .student-profile-sex legend, .student-profile .student-profile-fields label { color: #44403c; font-size: .85rem; font-weight: 700; }
.student-profile .student-profile-choices label { padding: 0; border: 0; background: none; }
.student-profile .student-profile-choices label span { padding: .8rem 1rem; border: 1.5px solid #e7e5e4; border-radius: .75rem; background: #fff; color: #57534e; font-size: .9rem; font-weight: 600; }
.student-profile .student-profile-choices label:hover span { border-color: #fdba74; background: #fffaf5; }
.student-profile .student-profile-choices input:checked + span { border-color: #f97316; background: #fff7ed; color: #c2410c; box-shadow: 0 0 0 1px #f97316; }
.student-profile .student-profile-choices input:focus-visible + span { outline: 3px solid #c2410c; outline-offset: 3px; }
.student-profile .student-profile-fields input { min-height: 3rem; padding: .75rem 1rem; border: 1px solid #d6d3d1; border-radius: .75rem; background: #fafaf9; color: #292524; font-size: .95rem; }
.student-profile .student-profile-fields input:focus { border-color: #ea580c; outline: 2px solid #ffedd5; outline-offset: 1px; box-shadow: none; }
.student-profile .student-profile-fields input::placeholder { color: #a8a29e; }
.student-profile .student-profile-actions { align-items: center; flex-direction: row-reverse; gap: 1rem; margin: 1.5rem -2rem 0; padding: 1.25rem 2rem; border-top: 1px solid #f5f0ed; background: #fffdfc; }
.student-profile .student-profile-actions input { flex: initial; min-height: 3rem; padding: .8rem 1.4rem; border: 0; border-radius: .8rem; background: linear-gradient(110deg, #ea580c, #db2777); color: #fff; font-size: .875rem; box-shadow: 0 8px 18px -8px rgba(234,88,12,.55); }
.student-profile .student-profile-actions input:hover { box-shadow: 0 10px 22px -6px rgba(234,88,12,.6); }
.student-profile .student-profile-actions a { margin-right: auto; padding: .75rem 0; border: 0; color: #78716c; font-size: .875rem; font-weight: 700; }
.student-profile .student-profile-actions a:hover { background: none; color: #c2410c; }
.student-profile .student-profile-actions input:focus-visible, .student-profile .student-profile-actions a:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
@media (max-width: 640px) {
  .student-profile-content { padding: 1.25rem 1.25rem 0; }
  .student-profile .student-profile-form { padding: 1.25rem 1.25rem 0; }
  .student-profile .student-profile-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .student-profile .student-profile-actions { margin: 1.25rem -1.25rem 0; padding: 1rem 1.25rem; }
}

.student-settings-shell { max-width: 720px; }
.student-settings-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.student-settings-nav a { padding: .6rem 1rem; border: 1px solid #fed7aa; border-radius: 999px; background: #fff; color: #9a3412; font-size: .85rem; font-weight: 700; }
.student-settings-nav a:hover { background: #fff7ed; }
.student-settings-nav a:focus-visible, .student-delete-button:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.student-settings-section { margin-bottom: 1.25rem; scroll-margin-top: 6rem; }
#foto { scroll-margin-top: 6rem; }
.student-profile-photo { display: flex; align-items: center; gap: 1rem; }
.student-profile-avatar { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.student-profile-avatar-placeholder { display: flex; align-items: center; justify-content: center; background: #ffedd5; color: #c2410c; font-size: 1.75rem; font-weight: 800; }
.student-profile-photo label { display: block; margin-bottom: .4rem; color: #44403c; font-size: .85rem; font-weight: 700; }
.student-profile-photo input { max-width: 100%; color: #57534e; font-size: .8rem; }
.student-settings-section .student-profile-fields label { display: block; margin-bottom: .5rem; }
.student-settings-section .student-profile-fields input { display: block; width: 100%; }
.student-profile .student-security-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
.student-profile .student-profile-actions { display: flex; }
.student-profile .student-security-form .student-profile-actions { justify-content: flex-start; }
.student-settings-danger { padding: 1.25rem 1.5rem; border: 1px solid #fecaca; border-radius: 1rem; background: #fff7f7; }
.student-settings-danger h2 { color: #991b1b; font-size: 1rem; font-weight: 800; }
.student-settings-danger p { margin: .5rem 0 1rem; color: #991b1b; font-size: .85rem; line-height: 1.5; }
.student-delete-button { padding: .7rem 1rem; border-radius: .75rem; background: #b91c1c; color: white; font-size: .85rem; font-weight: 700; }
.student-delete-button:hover { background: #991b1b; }

.trainer-results {
  min-height: 100vh;
  margin-top: 5rem;
  padding-bottom: 2rem;
  background: radial-gradient(ellipse at 15% 0%, #ffedd5 0%, transparent 42%),
              radial-gradient(ellipse at 85% 15%, #fce7f3 0%, transparent 42%), #fffaf8;
  color: #292524;
}
.trainer-results [hidden] { display: none !important; }
.trainer-results .search-header { padding-top: 2.5rem; padding-bottom: 1.5rem; }
.trainer-results .search-header h1 { margin: .8rem 0 .4rem; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.trainer-results .search-header h1 span { color: #ea580c; }
.trainer-results .search-header p { margin-bottom: 1.5rem; color: #78716c; font-size: .95rem; }
.trainer-results #trainer-search { min-height: 3.75rem; padding-right: 7rem; border: 1px solid #f5e6df; background: #fff; box-shadow: 0 12px 32px -18px rgba(120,53,15,.3); }
.trainer-results #trainer-search:focus { border-color: #ea580c; outline: 2px solid #ffedd5; box-shadow: none; }
.trainer-results .search-header button, .trainer-results-toggle, .trainer-results .trainer-filters button[type="submit"], .trainer-results .trainer-card-link {
  border: 0;
  background: linear-gradient(110deg, #ea580c, #db2777);
  color: #fff;
  font-weight: 700;
}
.trainer-results-toggle:hover, .trainer-results .trainer-filters button[type="submit"]:hover, .trainer-results .trainer-card-link:hover, .trainer-results .search-header button:hover { filter: brightness(.95); }
.trainer-results .trainer-filters { border: 1px solid #f5e6df; box-shadow: 0 18px 45px -24px rgba(120,53,15,.2); }
.trainer-results .trainer-filters h3 { font-weight: 800; }
.trainer-results .trainer-filters a { color: #c2410c; }
.trainer-results .trainer-filters > .bg-blue-50 { background: #fff7ed; }
.trainer-results .trainer-filters > .bg-blue-50 p { color: #9a3412; }
.trainer-results .trainer-filters input[type="checkbox"], .trainer-results .trainer-filters input[type="radio"] { color: #ea580c; accent-color: #ea580c; }
.trainer-results .trainer-filters input[type="text"], .trainer-results-toolbar select { border-color: #e7e5e4; border-radius: .75rem; background: #fafaf9; }
.trainer-results .trainer-filters input:focus-visible, .trainer-results-toolbar select:focus-visible, .trainer-results button:focus-visible, .trainer-results a:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.trainer-results-toolbar { gap: 1rem; flex-wrap: wrap; }
.trainer-results-toolbar h2 { font-weight: 800; letter-spacing: -.02em; }
.trainer-results-applied { border: 1px solid #fed7aa; background: #fff7ed; }
.trainer-results-applied a { color: #c2410c; }
.trainer-results .trainer-card { border: 1px solid #f5e6df; border-radius: 1.25rem; box-shadow: 0 18px 45px -24px rgba(120,53,15,.25); }
.trainer-results .trainer-card:hover { box-shadow: 0 22px 50px -22px rgba(120,53,15,.35); }
.trainer-results .trainer-card-cover { background: linear-gradient(135deg, #ffedd5, #fce7f3); }
.trainer-results .trainer-card-price { background: rgba(255,255,255,.9); }
.trainer-results .trainer-card .text-blue-600, .trainer-results .trainer-card .text-blue-500 { color: #c2410c; }
.trainer-results .trainer-card .bg-blue-100 { background: #fff7ed; color: #9a3412; }
.trainer-results .trainer-card-link { display: block; padding: .8rem 1rem; border-radius: .75rem; }
.trainer-results-empty { padding: 3rem 1.5rem; border: 1px solid #f5e6df; border-radius: 1.25rem; background: #fff; }
.trainer-results-empty svg { color: #fdba74; }
.trainer-results .filter-sidebar { max-height: 70vh; overflow-y: auto; }
@media (max-width: 1023px) {
  .trainer-results .filter-sidebar.is-collapsed { display: none; }
}
@media (min-width: 1024px) {
  .trainer-results .filter-sidebar { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-x: hidden; }
}
@media (max-width: 640px) {
  .trainer-results { margin-top: 4.5rem; }
  .trainer-results .search-header { padding-top: 1.5rem; }
  .trainer-results .search-header h1 { font-size: 1.8rem; }
  .trainer-results-toolbar h2 { font-size: 1.3rem; }
}

.sign-in-shell { max-width: 520px; }
.sign-in-form .signup-fields { margin-top: 1.75rem; }
.sign-in-remember { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; color: #57534e; font-size: .85rem; }
.sign-in-remember input { flex: none; color: #ea580c; accent-color: #ea580c; }
.sign-in-remember input:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.sign-in-submit { width: 100%; margin-top: 1.5rem; border: 0; cursor: pointer; }
.sign-in-links { padding: 1.25rem 2rem; border-top: 1px solid #f5f0ed; background: #fffdfc; color: #c2410c; font-size: .875rem; font-weight: 700; line-height: 2; text-align: center; }
.sign-in-links a:hover { text-decoration: underline; }
.sign-in-links a:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
@media (max-width: 640px) {
  .sign-in-links { padding: 1rem 1.25rem; }
}

.trainer-edit-shell { max-width: 860px; }
.trainer-edit #profile-checklist-title { font-weight: 800; }
.trainer-edit section[aria-labelledby="profile-checklist-title"] { border-color: #f5e6df; border-radius: 1.25rem; box-shadow: 0 16px 40px -24px rgba(120,53,15,.24); }
.trainer-edit-card { margin-top: 1.5rem; }
.trainer-edit-heading { padding: 2rem 2rem 0; }
.trainer-edit .trainer-professional-form { display: block; padding: 1.5rem 2rem 0; }
.trainer-edit .trainer-form-section { padding: 0 0 1.75rem; }
.trainer-edit .trainer-form-section + .trainer-form-section { padding-top: 1.75rem; border-top: 1px solid #f5f0ed; }
.trainer-edit .trainer-form-section-title { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1.5rem; }
.trainer-edit .trainer-form-section-title > span { display: flex; flex: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: #fff7ed; color: #c2410c; font-size: .75rem; font-weight: 800; }
.trainer-edit .trainer-form-section-title h3 { color: #292524; font-size: 1.1rem; font-weight: 800; }
.trainer-edit .trainer-form-section-title p { margin-top: .2rem; color: #78716c; font-size: .85rem; line-height: 1.5; }
.trainer-edit .trainer-professional-form label { color: #44403c; font-size: .85rem; font-weight: 700; }
.trainer-edit .trainer-professional-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .trainer-edit .trainer-professional-form textarea { width: 100%; min-width: 0; min-height: 3rem; padding: .75rem 1rem; border: 1px solid #d6d3d1; border-radius: .75rem; background: #fafaf9; color: #292524; font-size: .95rem; box-shadow: none; }
.trainer-edit .trainer-professional-form input[type="file"] { font-size: .8rem; }
.trainer-edit .trainer-professional-form input:focus-visible, .trainer-edit .trainer-professional-form textarea:focus-visible { border-color: #ea580c; outline: 2px solid #fdba74; outline-offset: 2px; }
.trainer-edit .trainer-professional-form input[type="checkbox"], .trainer-edit .trainer-professional-form input[type="radio"] { flex: none; color: #ea580c; accent-color: #ea580c; }
.trainer-edit .trainer-form-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.trainer-edit .trainer-form-details > div { width: auto; min-width: 0; margin: 0; }
.trainer-edit .trainer-form-details #price-rating { flex: none; white-space: nowrap; }
.trainer-edit .trainer-form-options { gap: .6rem; }
.trainer-edit .trainer-form-options > div { min-width: 0; padding: .65rem .75rem; border: 1px solid #e7e5e4; border-radius: .75rem; background: #fffdfc; }
.trainer-edit .trainer-form-options label { min-width: 0; margin: 0 0 0 .5rem; line-height: 1.3; overflow-wrap: anywhere; }
.trainer-edit .trainer-form-availability { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.trainer-edit .trainer-form-availability > div { min-width: 0; margin: 0 0 1.25rem; }
.trainer-edit .trainer-form-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trainer-edit .trainer-form-actions { display: flex; justify-content: flex-end; margin: 0 -2rem; padding: 1.25rem 2rem; border-top: 1px solid #f5f0ed; background: #fffdfc; }
.trainer-edit .trainer-form-actions input { min-height: 3rem; padding: .8rem 1.4rem; border: 0; border-radius: .8rem; background: linear-gradient(110deg, #ea580c, #db2777); color: #fff; font-size: .875rem; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(234,88,12,.55); }
.trainer-edit-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.trainer-edit-links a { color: #9a3412; font-size: .875rem; font-weight: 700; }
.trainer-edit-links a:hover { text-decoration: underline; }
.trainer-edit-links a:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
@media (max-width: 640px) {
  .trainer-edit-heading { padding: 1.25rem 1.25rem 0; }
  .trainer-edit .trainer-professional-form { padding: 1.25rem 1.25rem 0; }
  .trainer-edit .trainer-form-details, .trainer-edit .trainer-form-availability { grid-template-columns: minmax(0, 1fr); }
  .trainer-edit .trainer-form-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trainer-edit .trainer-form-actions { margin: 0 -1.25rem; padding: 1rem 1.25rem; }
}