#alert-btn {
  position: absolute;
  top: 250px;
  right: 0;
  background: #009EDB;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  border-radius: 45px;
  cursor: pointer;
}

/* Overlay */
.alert-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.alert-modal-overlay.open {
  display: flex;
}

/* Modal */
.alert-modal {
  background: #fff;
  width: 90%;
  max-width: 700px;
  padding: 25px;
  border-radius: 8px;
  font-family: Roboto, sans-serif;
  max-height: calc(100vh - 36px);
  overflow: auto; 
  -webkit-overflow-scrolling: touch; 
}

.alert-modal h2 {
  margin-bottom: 20px;
}

/* Form */
.alert-form .grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  column-gap:25px;
}

.alert-form .form-group.full {
  grid-column: span 2;
}

.alert-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.alert-form input,
.alert-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.alert-form input .checkbox {
  width: inherit;
}

/* Radius */
.radius-group {
  display: flex;
  gap: 15px;
}

/* Actions */
.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.close-modal {
  background: none;
  border: none;
  cursor: pointer;
}

.submit-alert {
  background: #009EDB;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 45px;
  cursor: pointer;
}

.opae-flash{
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid transparent;
}
.opae-flash--success{
  background:#ecfdf5;
  border-color:#a7f3d0;
  color:#065f46;
}
.opae-flash--error{
  background:#fef2f2;
  border-color:#fecaca;
  color:#991b1b;
}
.opae-flash--info{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1e3a8a;
}

@media (min-width:768px) and (max-width: 1100px){
  #alert-btn{
      top: 200px;
    }
}


@media (min-width:590px) and (max-width: 767px){
  #alert-btn{
      top: 100px;
    }
}

@media (max-width: 640px){
  .alert-modal-overlay{
    align-items: flex-start; 
    padding: 12px;
  }
  .alert-modal{
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }
}

@media (max-width:589px) {
  #alert-btn{
    top: 25px;
  }
  
}