@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

:root{
  --bg:#F2B706;
  --text:#004B99;
  --btn:#F08324;
  --card: rgba(255,255,255,0.55);
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
*::before, *::after{ box-sizing: inherit; }

html,body{ height:100%; }
body{
  margin:0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 14px;
}

.brand h1{
  margin:0;
  font-size: clamp(24px, 3.8vw, 44px);
  line-height: 1.05;
  font-weight: 800;
}

.brand p{
  margin:6px 0 0;
  font-weight:600;
}

.btn{
  appearance:none;
  border:0;
  background: var(--btn);
  color:var(--text);
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
  cursor:pointer;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform .08s ease;
  text-decoration:none;
  display:inline-block;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:active{ transform: translateY(1px); }
.btn.secondary{
  background: rgba(0,75,153,0.14);
  color: var(--text);
  border: 2px solid rgba(0,75,153,0.25);
  box-shadow:none;
}

.btn:focus-visible{
  outline: 3px solid rgba(0, 75, 153, 0.35);
  outline-offset: 2px;
}

a.btn{
  color: var(--text);
}

.card{
  background: var(--card);
  border: 2px solid rgba(0,75,153,0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* RESPONSIVE */
@media (min-width: 800px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

.toast{
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: min(520px, calc(100% - 24px));
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 2px solid rgba(0,75,153,0.2);
  box-shadow: var(--shadow);
  font-weight: 900;
  display:none;
}

.header-actions{
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header-actions .btn.secondary{
  min-width: 110px;
}

.modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.25);
  z-index: 20000;
}

.modal.open{
  display:flex;
}

.modal-card{
  width: min(520px, 100%);
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(0,75,153,0.2);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  padding: 16px;
}

.modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:12px;
  flex-wrap:wrap;
}