.swp-container, .swp-container * { font-family: Calibri, sans-serif; }
body, .swp-container, .swp-card, .swp-form, .swp-modal-content { font-family: Calibri, sans-serif; }
:root{
  --swp-primary:#0D4C7E;
  --swp-accent:#ffffff;
}

/* Layout container & card */
.swp-container{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  padding:24px 12px;
  background:linear-gradient(180deg, rgba(13,76,126,.08), rgba(13,76,126,.02));
}
.swp-card{
  max-width:520px;
  width:100%;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  padding:20px;
  text-align:center;
}

/* Form */
.swp-form{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.swp-field label{
  display:none;
}
.swp-form input{
  width:100%;
  padding:10px;
  border:1px solid #d1d5db;
  border-radius:10px;
}
.swp-form button{
  padding:12px 16px;
  border:0;
  border-radius:999px;
  background:#b91c1c;
  color:#fff;
  font-weight:800;
  letter-spacing:.3px;
  text-transform:uppercase;
  cursor:pointer;
}
.swp-form button:hover{
  background:#991b1b;
}
.swp-result{
  margin-top:12px;
  font-weight:600;
}

/* Modal */
.swp-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:9999;
}
.swp-modal[aria-hidden="false"]{
  display:flex;
}
.swp-modal-content{
  max-width:420px;
  width:100%;
  background:var(--swp-accent);
  border-radius:18px;
  border:4px solid var(--swp-primary);
  padding:22px;
  box-shadow:0 15px 40px rgba(0,0,0,.2);
  text-align:center;
}
#swp-modal-title{
  margin:0 0 12px;
  font-size:1.6rem;
  font-weight:900;
  letter-spacing:.1em;
  color:var(--swp-primary);
}
#swp-modal-body{
  margin:0;
  white-space:pre-line;
  font-size:1rem;
  line-height:1.6;
  color:var(--swp-primary);
}
#swp-modal-close{
  margin-top:18px;
  padding:10px 26px;
  border-radius:999px;
  border:0;
  background:var(--swp-primary);
  color:var(--swp-accent);
  font-weight:700;
  cursor:pointer;
}
#swp-modal-close:hover{
  opacity:.9;
}

/* Wheel */
canvas#swp-wheel{
  background:#f8fafc;
  border-radius:50%;
  border:6px solid var(--swp-primary);
  box-shadow:0 6px 20px rgba(0,0,0,.12);
  width:100%;
  max-width:440px;
  height:auto;
  margin:0 auto;
  display:block;
}

@media (max-width:768px){
  .swp-card{
    max-width:100%;
  }
  
}


@media (max-width:768px){
  canvas#swp-wheel{
    transform:scale(0.90);
    transform-origin:center center;
  }
}
