/* Página de pagamento de quotas — complementa membership.css */
.quotas-hero { min-height:380px; background:#101f39 url('https://apigraf.pt/Encontro26Fotos/encontro2.png') center/cover no-repeat; }
.quotas-hero .membership-hero-content { padding-top:90px; padding-bottom:60px; }
.quotas-hero h1 { max-width:none; }
.quotas-join { margin-top:0; }
.quotas-join .membership-join-copy h2 { margin-top:0; }
.quotas-panel { min-width:0; display:grid; gap:18px; align-content:start; }
.quotas-panel > .membership-alert { margin:0; }

.quotas-page .membership-quote-label { text-transform:none; letter-spacing:0; font-size:.95rem; }

.quotas-company { display:flex; gap:14px; align-items:center; padding:18px 22px; border-radius:8px; background:#fff; box-shadow:0 12px 40px rgba(12,32,71,.08); }
.quotas-company > span { display:grid; place-items:center; flex:0 0 46px; height:46px; border-radius:50%; background:#e8eef6; color:var(--mb); }
.quotas-company > span .membership-icon { width:24px; height:24px; }
.quotas-company div { display:grid; gap:3px; min-width:0; flex:1; }
.quotas-company strong { color:var(--mi); font-size:1.15rem; overflow-wrap:anywhere; }
.quotas-company small { color:#5c6b83; line-height:1.45; }
.quotas-company a { flex:0 0 auto; color:var(--mb); font-weight:700; font-size:.9rem; }

.quotas-summary { display:grid; gap:0; margin:0; padding:6px 22px; border-radius:8px; background:var(--mi); color:#fff; }
.quotas-summary div { display:flex; justify-content:space-between; gap:18px; padding:14px 0; border-top:1px solid rgba(255,255,255,.2); }
.quotas-summary div:first-child { border-top:0; }
.quotas-summary dt { color:#c5d2e7; }
.quotas-summary dd { margin:0; text-align:right; font-weight:700; overflow-wrap:anywhere; }
.quotas-summary-total dd { font-size:1.45rem; }

.quotas-months { margin:0 0 6px; padding:0; border:0; min-width:0; }
.quotas-months legend { display:flex; gap:8px; align-items:center; margin:0 0 14px; padding:0; color:var(--mi); font-size:1.45rem; font-weight:700; }
.quotas-month-actions { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.quotas-month-actions button { padding:8px 14px; border:1px solid #c9d4e4; border-radius:20px; background:#fff; color:var(--mb); font:inherit; font-size:.9rem; font-weight:700; cursor:pointer; }
.quotas-month-actions button:hover { background:#eef2f9; }
.quotas-month-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.quotas-month-grid label { position:relative; display:block; cursor:pointer; }
.quotas-month-grid input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.quotas-month-grid span { display:grid; gap:2px; min-height:52px; align-content:center; padding:9px 10px; border:1px solid #d1dbe8; border-radius:6px; background:#fff; color:#253754; font-weight:700; font-size:.92rem; text-align:center; transition:background .15s,border-color .15s,color .15s; }
.quotas-month-grid input:checked + span { border-color:var(--mb); background:var(--mb); color:#fff; }
.quotas-month-grid input:focus-visible + span { outline:3px solid #f39a4c; outline-offset:2px; }
.quotas-month-grid .is-taken { cursor:default; }
.quotas-month-grid .is-taken span { background:#eef2f6; color:#8a96a8; border-style:dashed; }
.quotas-month-grid small { font-weight:600; font-size:.75rem; }
.quotas-month-note { margin:10px 0 0; color:#5c6b83; font-size:.88rem; }

@media (max-width:620px) {
  .quotas-month-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .quotas-company { flex-wrap:wrap; align-items:flex-start; padding:16px 18px; }
  .quotas-company div { flex:1 1 calc(100% - 64px); }
  .quotas-company a { flex-basis:100%; padding-left:60px; }
  .quotas-month-grid span { padding:9px 4px; font-size:.86rem; }
  .quotas-summary div { display:block; }
  .quotas-summary dd { text-align:left; margin-top:4px; }
}
@media (max-width:340px) {
  .quotas-month-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
