/* === Período fértil === */
.fert-page .fert-app { padding: 20px; }
.fert-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.fert-input { background: #fdf2f8; border: 2px solid #f9a8d4; border-radius: 12px; padding: 14px; }
.fert-input label { display: block; font-size: 13px; color: #831843; font-weight: 700; margin-bottom: 8px; }
.fert-date { width: 100%; font-size: 20px; padding: 10px 14px; border: 1px solid #f9a8d4; border-radius: 10px; color: #831843; font-weight: 700; background: #fff; }
.fert-num { display: flex; align-items: center; background: #fff; border: 1px solid #f9a8d4; border-radius: 10px; padding: 4px 14px; }
.fert-num input { flex: 1; border: 0; outline: none; font-size: 20px; font-weight: 800; color: #831843; text-align: right; padding: 6px 0; }
.fert-num input::-webkit-outer-spin-button, .fert-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fert-num span { font-size: 13px; color: #94a3b8; padding-left: 4px; }
.fert-ciclo-pills { display: flex; gap: 4px; margin-top: 8px; }
.fert-ciclo-pills button { flex: 1; background: #fff; border: 1px solid #f9a8d4; padding: 6px; border-radius: 8px; font-size: 12px; color: #831843; cursor: pointer; font-weight: 600; }
.fert-ciclo-pills button.active { background: #ec4899; border-color: #ec4899; color: #fff; }

.fert-result-hero { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.fert-result-card { background: #fff; border: 2px solid; border-radius: 14px; padding: 18px; text-align: center; }
.fert-ovul { border-color: #ec4899; background: linear-gradient(135deg, #fdf2f8, #fce7f3); }
.fert-fertil { border-color: #db2777; background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.fert-mens { border-color: #f9a8d4; }
.fert-card-icon { font-size: 30px; }
.fert-card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; color: #831843; font-weight: 700; margin-top: 4px; }
.fert-card-value { font-size: 18px; font-weight: 800; color: #831843; margin-top: 4px; font-family: 'Inter', system-ui, sans-serif; }

.fert-cal-wrap { background: #fdf2f8; border-radius: 14px; padding: 20px; margin-bottom: 22px; }
.fert-cal-wrap h3, .fert-prob-wrap h3 { margin: 0 0 12px; font-size: 16px; color: #0f172a; font-weight: 700; }
.fert-cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; font-size: 12px; color: #475569; }
.fert-legend { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.fert-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-mens { background: #b91c1c; }
.dot-fert { background: #f9a8d4; }
.dot-ovul { background: #ec4899; }
.dot-prox { background: #fecaca; }
.fert-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.fert-day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid #f1f5f9; font-size: 12px; }
.fert-day-num { font-size: 14px; font-weight: 700; color: #0f172a; }
.fert-day-info { font-size: 9px; color: #64748b; margin-top: 2px; }
.fert-day.mens { background: #fecaca; border-color: #b91c1c; }
.fert-day.mens .fert-day-num { color: #7f1d1d; }
.fert-day.fert { background: #fbcfe8; border-color: #db2777; }
.fert-day.fert .fert-day-num { color: #831843; }
.fert-day.ovul { background: #ec4899; border-color: #be185d; }
.fert-day.ovul .fert-day-num { color: #fff; }
.fert-day.prox { background: #fecaca; border-color: #fca5a5; opacity: 0.8; }

.fert-prob-chart { display: grid; grid-template-columns: repeat(auto-fill, minmax(28px, 1fr)); gap: 2px; align-items: end; height: 120px; padding: 8px; background: #fff; border-radius: 10px; }
.fert-prob-bar { background: linear-gradient(to top, #fbcfe8, #ec4899); border-radius: 4px 4px 0 0; min-height: 8px; position: relative; }
.fert-prob-bar.peak { background: linear-gradient(to top, #ec4899, #be185d); }
.fert-prob-bar:hover::after { content: attr(data-info); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #0f172a; color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 11px; white-space: nowrap; margin-bottom: 4px; }

.fert-content { margin-top: 20px; }
.fert-content h2 { margin-top: 0; }
.fert-content p { color: #475569; line-height: 1.7; margin: 0 0 14px; }

@media (max-width: 720px) {
  .fert-inputs { grid-template-columns: 1fr; }
  .fert-result-hero { grid-template-columns: 1fr; }
  .fert-day-info { display: none; }
  .fert-day-num { font-size: 12px; }
}
