/* ============================================================
   Portal de Gestão — União Desportiva Oliveirense
   CSS Base— variáveis, reset, tipografia, inputs
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* ---------- Variáveis ---------- */
:root {
  --navy:        #0d1b2e;
  --navy-mid:    #132338;
  --navy-light:  #1c3250;
  --navy-hover:  #243d62;
  --red:         #c8201e;
  --red-dark:    #a01818;
  --red-light:   #e63535;
  --white:       #ffffff;
  --off-white:   #f4f5f7;
  --gray-light:  #dde1e7;
  --gray-mid:    #9aa3ae;
  --gray-dark:   #4a5568;
  --text:        #1a2332;
  --green:       #2e7d32;
  --green-light: #e8f5e9;
  --red-bg:      #fff0f0;

  --sidebar-w:   240px;
  --header-h:    0px;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --sh-sm: 0 2px 8px rgba(13,27,46,.10);
  --sh-md: 0 4px 18px rgba(13,27,46,.14);
  --sh-lg: 0 8px 32px rgba(13,27,46,.20);
  --t:     .25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
}

/* ---------- Tipografia geral ---------- */
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; }

/* ============================================================
   INPUTS / SELECTS / TEXTAREAS — estilo uniforme
   ============================================================ */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="search"],
select,
textarea {
  display: block;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: .97rem;
  color: var(--text);
  background: var(--white);
  border: 1.8px solid var(--gray-light);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(13,27,46,.12);
  background: #fafbfd;
}
input:hover, select:hover, textarea:hover {
  border-color: var(--navy-mid);
}
input::placeholder, textarea::placeholder { color: var(--gray-mid); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 6px; }

/* ---------- Botões base ---------- */
button, .btn {
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
button:active { transform: translateY(1px); }

body:has(.modal-alerta.ativo),
body:has(#modal-confirmar-password.ativo),
body:has(#modal-motivo-eliminacao.ativo),
body:has(#modal-rejeicao.ativo),
body:has(#modal-foto-ampliada.ativo),
body:has(#modal-dados-atleta.ativo),
body:has(#modal-relatorio-trimestral.ativo),
body:has(#modal-relatorio-fim-epoca.ativo){
  overflow: hidden;
}


