.pmodal {
  max-width: 50ch;
  border:0;
  padding:0;
}
.pmodal .wrapper {
  padding:14px;
}
@media only screen and (max-width: 600px) {
  .pmodal{
  width: 100% !important;
  max-width: 95% !important;
  margin: 10px auto !important;
  }
}
/*.pmodal > * {
  margin: 0 0 0.5rem 0;
}*/
.pmodal::-webkit-backdrop {
  background: rgb(0, 0, 0, 0.4);
}

.pmodal::backdrop {
  background: rgb(0, 0, 0, 0.4);
}
body.modal-open {
  height: 100vh;
  overflow-y: hidden;
}
 /*extra styling*/
modalbody {
  min-height: 100vh;
  margin: 2rem;
  font-family: system-ui;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--gray-8);
}

h1 em {
  color: var(--cyan-9);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.button {
  border: 0;
  cursor: pointer;
  background: var(--gray-8);
  color: var(--gray-2);
  font-weight: 700;
  padding: var(--size-2) var(--size-4);
}

.button:hover,
.button:focus {
  background: var(--cyan-9);
}
 /*
form {
  display: grid;
  gap: 1em;
}*/
.modal-header {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: auto 15% 1fr auto;
  padding: 0px;
}
.close-button{
  grid-row: 1;
  grid-column: 4;
}
.slogo{
  grid-row: 1;
  grid-column: 1;
  margin-bottom: 10px;
}
.secure{
  grid-row: 1;
  grid-column: 3;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: medium;
  font-weight: 500;
  margin-bottom: 10px;
  color: #9E9E9E;
}
.securesvg{
  grid-row: 1;
  grid-column: 2;
  margin-bottom:15px;
}
.close-button {
  /* Positioning */
  position: absolute;
  top: 16px;
  right: 16px;
  
  /* Layout & Sizing */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  
  /* Styling */
  background: #f1f3f5;
  color: #495057;
  border: none;
  border-radius: 50%; /* Smooth circular button */
  cursor: pointer;
  
  /* Typography for the '×' */
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  
  /* Smooth hover transition */
  transition: all 0.2s ease-in-out;
}

/* Pseudo-element for the '×' icon */
.close-button:before {
  content: "\00d7"; 
}

/* Hover & Active States */
.close-button:hover {
  background: #e2e6ea;
  color: #212529;
  transform: scale(1.05); /* Subtle pop effect */
}

.close-button:active {
  transform: scale(0.95); /* Click feedback */
}
.pmodal[open] {
    animation: myFadeIn 1.2s ease normal;
  }
  
@keyframes myFadeIn{
    from {
      opacity: 0;
    }
    to {
      opacity: 0;
    }
  }
