/* 3E custom confirm modal */
.three-confirm-overlay{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.58);
  backdrop-filter:blur(6px);
  padding:24px;
}

.three-confirm-overlay.is-open{
  display:flex;
}

.three-confirm-modal{
  width:min(430px,calc(100vw - 32px));
  background:#ffffff;
  border:1px solid #dbe5f1;
  border-radius:22px;
  box-shadow:0 28px 90px rgba(15,23,42,.28);
  padding:24px;
  color:#0f172a;
  animation:threeConfirmIn .16s ease-out;
}

@keyframes threeConfirmIn{
  from{opacity:0; transform:translateY(10px) scale(.98);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

.three-confirm-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  background:#fff1f2;
  color:#e11d48;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  font-weight:900;
  margin:0 0 16px;
}

.three-confirm-title{
  margin:0 0 8px;
  color:#071426;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.035em;
  font-weight:950;
}

.three-confirm-text{
  margin:0;
  color:#526276;
  font-size:15px;
  line-height:1.6;
  font-weight:650;
}

.three-confirm-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:22px;
}

.three-confirm-btn{
  min-height:44px;
  border-radius:13px;
  padding:0 18px;
  border:1px solid #d8e1ee;
  background:#fff;
  color:#0f172a;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}

.three-confirm-btn:hover{
  background:#f8fafc;
}

.three-confirm-btn-danger{
  border-color:#e11d48;
  background:#e11d48;
  color:#fff;
}

.three-confirm-btn-danger:hover{
  background:#be123c;
}

@media(max-width:640px){
  .three-confirm-modal{
    border-radius:18px;
    padding:20px;
  }

  .three-confirm-actions{
    flex-direction:column-reverse;
  }

  .three-confirm-btn{
    width:100%;
  }
}
