/* ===========================================================
   FEMFLOW — THEMES.CSS
   Gradientes + efeitos por página, sem duplicações
=========================================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background: radial-gradient(circle at 30% 20%, rgba(79,111,104,0.25) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(51,89,83,0.2) 0%, transparent 70%);
  filter: blur(32px);
}

/* ---------- TEMA GERAL ---------- */
body.page-default {
  background: linear-gradient(180deg, #2E2E2E 0%, #335953 100%);
}

/* ---------- TEMA DA PÁGINA CICLO ---------- */
body.page-ciclo {
  background: linear-gradient(180deg, #2E2E2E 0%, #335953 100%);
}

/* ---------- TEMA DA PÁGINA TREINO ---------- */
body.page-treino {
  background: linear-gradient(180deg, #2E2E2E 0%, #335953 100%);
}

/* ---------- TEMA DA PÁGINA EVOLUÇÃO ---------- */
body.page-evolucao {
  background: linear-gradient(180deg, #2E2E2E 0%, #335953 100%);
}

body.ff-modal-open {
  overflow: hidden;
  touch-action: none;
}
.ff-lang-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.ff-lang-modal.hidden {
  display: none !important;
}

.ff-lang-box {
  background: #E5E5E5;
  width: 85%;
  max-width: 350px;
  padding: 22px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.ff-lang-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  border: none;
  background: linear-gradient(135deg, #335953, #4F6F68);
  color: #fff;
  border-radius: 14px;
  font-size: 1.1rem;
}

.ff-lang-close {
  border: none;
  padding: 10px;
  width: 100%;
  margin-top: 12px;
  border-radius: 10px;
  background: #ddd;
}

.ff-sac-modal {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(46, 46, 46, 0.7),
    rgba(51, 89, 83, 0.55)
  );
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 16px;
}

.ff-sac-modal.hidden {
  display: none !important;
}

.ff-sac-box {
  background: linear-gradient(180deg, rgba(229, 229, 229, 0.98), #E5E5E5);
  width: 90%;
  max-width: 420px;
  padding: 22px;
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(46, 46, 46, 0.25);
  border: 1px solid rgba(107, 107, 107, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}

.ff-sac-box h2 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 1.35rem;
  color: #2E2E2E;
}

.ff-sac-box p {
  text-align: center;
  margin-bottom: 16px;
  color: #6B6B6B;
}

.ff-sac-options {
  display: grid;
  gap: 10px;
}

.ff-sac-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(107, 107, 107, 0.45);
  background: rgba(229, 229, 229, 0.95);
  font-size: 0.98rem;
  color: #2E2E2E;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-sac-options label:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(46, 46, 46, 0.12);
}

.ff-sac-options input[type="radio"] {
  accent-color: #4F6F68;
}

#ff-sac-msg {
  width: 100%;
  min-height: 110px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(107, 107, 107, 0.45);
  background: rgba(229, 229, 229, 0.98);
  color: #2E2E2E;
  resize: vertical;
}

.ff-sac-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.ff-sac-actions button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

#ff-sac-enviar {
  background: linear-gradient(135deg, #335953, #4F6F68);
  color: #fff;
}

#ff-sac-cancelar {
  background: #E5E5E5;
  color: #2E2E2E;
}
