/* --- Container that pins the banner dead-centre --- */
.validation-banner-container {
    inset: 0;                 /* top:0 right:0 bottom:0 left:0   */
    display: flex;
    justify-content: center;  /* Center horizontally             */
    align-items: center;      /* Center vertically               */
    pointer-events: none;     /* Let clicks pass through if you wish */
  }
  
  /* --- Banner itself --- */
  .validation-banner {
    max-width: 340px;
    width: 90%;               /* Shrinks on phones               */
    background: #ffecec;
    border: 2px solid #ff5c5c;
    color: #b30000;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    pointer-events: auto;     /* Allow interaction with buttons/links */
  }
  @media (max-width: 420px) {
    .validation-banner {
      width: 94%;               /* A little breathing room on tiny screens   */
      max-width: none;          /* Let it use the full 94 % if needed        */
      font-size: 0.9rem;        /* Slightly smaller text                     */
      padding: 0.65rem 0.85rem; /* Tighter padding keeps it from feeling huge*/
      margin-left: 20px;
      margin-right: 20px;
    }
  }