.modal {
    position:fixed;
    display:flex;
    /* width:50%; */
    /* height:50%; */
    /* max-height:400px; */
    /* max-width:640px; */
    height:95%;
    width:95%;
    /* top:200px; */
    /* top:0; */
    /* left:0; */
    justify-self:center;
    align-self:center;
    justify-content:center;
    align-items:center;
    background-color:var(--soft-linen);
    filter:var(--shadow);
}

.modal .modal-content {
    margin:30px 10px;
    overflow:overlay;
}

/* .modal:after { */
/*     background-color:var(--dark-slate-grey); */
/*     opacity:0.8; */
/*     top:0; */
/*     left:0; */
/*     right:0; */
/*     bottom:0; */
/*     position:fixed; */
/*     z-index:2; */	  
/* } */


/* Reset & Base Setup (For context) */
/* body { */
/*   font-family: system-ui, sans-serif; */
/*   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
/*   height: 100vh; */
/*   margin: 0; */
/*   display: flex; */
/*   justify-content: center; */
/*   align-items: center; */
/* } */

/* 1. Trigger Button Styling */
/* .open-btn { */
/*   padding: 12px 24px; */
/*   font-size: 16px; */
/*   font-weight: bold; */
/*   color: #fff; */
/*   background: #333; */
/*   border: none; */
/*   border-radius: 8px; */
/*   cursor: pointer; */
/* } */

/* 2. The Semi-Transparent & Blurred Full-Screen Overlay */

.screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /*  background-color: rgba(255, 255, 255, 0.15); */ /* Tinting layer */
  background-color: var(--gunmetal);
  
  /* The Glassmorphism Magic */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  /* Center the modal box inside */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Active State to Show the Modal */
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 3. The Modal Card */
.modal-box {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* max-width: 400px; */
  width: 90%;
  text-align: center;
}

.modal-box h2 {
  margin-top: 0;
  color: #333;
}

.modal-box p {
  color: #666;
  line-height: 1.5;
}

/* 4. Inside Dismiss Button */
/* .close-btn { */
/*   margin-top: 16px; */
/*   padding: 10px 20px; */
/*   background: #ff4757; */
/*   color: white; */
/*   border: none; */
/*   border-radius: 6px; */
/*   cursor: pointer; */
/*   font-weight: 500; */
/* } */

.frosted-card {
  /* Step 1: Make the background semi-transparent */
  /* background-color: rgba(255, 255, 255, 0.3);  */
  
  /* Step 2: Apply the backdrop filter */
  backdrop-filter: blur(10px);
  
  /* Optional: WebKit prefix for older Safari versions */
  -webkit-backdrop-filter: blur(10px); 
}

.screen {
    pointer-events:none;
    user-select:none;
    position:fixed;
    top:0;
    left:0;
    /* background-color:var(--dark-slate-grey); */
    opacity:0.8;
    top:0;
    left:0;
    right:0;
    bottom:0;
    position:fixed;
	 
}
