/* ===== My Profile Modal (matches Orders modal mechanics) ===== */

.profOverlay{
  position:fixed;
  inset:0;
  z-index:1120;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease-out;
}

.profOverlay[hidden]{ display:none !important; }

.profOverlay.is-open{
  opacity:1;
  pointer-events:auto;
}

.profBackdrop{
  position:absolute;
  inset:0;
  background:rgba(0,5,10,.50);
}

.profPanel{
  position:relative;
  z-index:1;
  width:min(500px, 92vw);
  height: auto;
  max-height:90vh;
  background:#fff;
  border-radius:14px;
  box-shadow: var(0 8px 32px rgba(0,0,0,.10), 0 18px 40px rgba(15, 23, 42, 0.22));
  overflow:hidden;
  display:flex;
  flex-direction:column;

  transform:translateY(24px);
  opacity:0;
  transition:transform .22s ease-out, opacity .22s ease-out;
}

.profOverlay.is-open .profPanel{
  transform:translateY(0);
  opacity:1;
}

.profHeader{
  background:#f1f3f5;
  padding:18px 12px 12px;
  position:relative;
}

.profTitle{
  margin:0;
  text-align:center;
  font-size:clamp(17px, 3vw, 19px);
  font-weight:600;
  color:#000;
}

.profCloseBtn{
  position:absolute;
  top:12px;
  width:40px;
  height:40px;
  border-radius:10px;
  border:0;
  background:#f1f3f5;
  font-size:30px;
  line-height:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;    
}

/* .profCloseBtn:hover {
	background: #e1e3e5;
} */

.profBody{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:3px clamp(12px, 3vw, 16px) 18px;
  background:#f1f3f5;
}

.profAvatarBlock{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:8px 0 10px;
}

.profAvatarBtn{
  position:relative;
  width:140px;
  height:140px;
  border-radius:999px;
  border:5px solid #fff;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
}

.profAvatarImg {
	position:absolute;
	inset:0;               /* top:0; right:0; bottom:0; left:0 */
	width:100%;
	height:100%;
	object-fit:cover;      /* keep aspect ratio while filling */
	object-position:center;
	display:block;
	background: #f1f3f5;
	padding: 0;
}

.profAvatarImg img {
	filter: invert(0);
}


/* when no avatar (camera icon) */
.profAvatarImg.is-empty{
  padding:40px;       /* adjust */
  object-fit:contain; /* so camera isn't cropped */
  box-sizing:border-box;
}

.profAvatarBadge{
  position:absolute;
  right:10px;
  bottom:10px;
  width:34px;
  height:34px;
  border-radius:999px;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  box-shadow:0 10px 18px rgba(0,0,0,.18);
}

.profBigName{
  margin-top:12px;
  font-size:22px;
  font-weight:800;
  color:#111;
}

.profBigEmail{
  margin-top:2px;
  font-size:14px;
  color:#6b7280;
}

.profGroup{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  margin-top:20px;
  padding: 3px 0;
}

.profRow{
  width:100%;
  border:0;
  background:#fff;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  cursor:pointer;
  text-align:left;
}

/* Divider aligned with text (not the left edge) */
.profRow{
  position: relative;
}

.profRow + .profRow{
  border-top: 0; /* remove full-width divider */
}

.profRow + .profRow::before{
  content: '';
  position: absolute;
  top: 0;
  /* 14px left padding + 28px icon + 12px gap = 54px */
  left: 54px;
  right: 0px;          /* match right padding */
  height: 1px;
  background: #eef0f2;
}


.profI{
  width:28px;
  height:28px;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  flex:0 0 auto;
}

.profI svg{ display:block; }

.profI--blue{ background:#2f6fed; }
.profI--navy{ background:#1f4ea8; }
.profI--red{ background:#cc4b4b; }
.profI--green{ background:#2f9e44; }
.profI--orange{ background:#f08c00; }
.profI--pink{ background:#ff5c7a; }
.profI--blue2{ background:#2b6cb0; }
.profI--danger{ background:#cc4b4b; }
.profI--danger2{ background:#f03e3e; }

.profMain{
  flex:1 1 auto;
  display:flex;
  flex-direction: row;
  min-width:0;
  gap: 8px;
}

.profLabel{
  font-size:16px;
  color:#234;
}

.profValue{
  font-size:16px;
  color:#234;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.profChev{
  font-size:26px;
  color:#c0c5cc;
  line-height:1;
  margin-left:6px;
  flex:0 0 auto;
}

.profRow--danger .profLabel{ 
	color:#111; 
}

.profRow--danger2 .profLabel{ 
	color:#f03e3e; 
	font-weight:500; 
}

.deleteBtn {
	margin: 50px auto 0;
	border: 0;
	display: flex;
	background: #f1f3f5;
	font-size: 15px;
	color:#f03e3e; 
	font-weight:500;
	padding: 3px 0;
	cursor: pointer;
}

.profRow.is-disabled{
  cursor:default;
  opacity:.55;
}
.profRow.is-disabled .profChev{ 
	visibility:hidden; 
}

.profFoot{
  text-align:center;
  color:#9aa1aa;
  font-size:13px;
  padding:18px 6px 0;
}

/* ===== Edit overlay (inside panel) ===== */

.profEdit{
  position:absolute;
  inset:0;
  background:#fff;
  display:flex;
  flex-direction:column;
  z-index:5;
}

.profEditTop{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;      /* center area for title */
  padding: 18px 18px;
  background: #f1f3f5;
  min-height: 60px;             /* optional, keeps it stable */
}

/* Left back button pinned */
#profEditCancel{
  position: absolute;
  left: 12px;
  z-index: 2;
}

/* Right SAVE button pinned */
#profEditSave{
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
}

/* Title perfectly centered regardless of button widths */
.profEditTitle{
  position: absolute;
  top: 18px;
  z-index: 1;
  font-weight: 600;
  color: #000;
  /* prevent overlap with buttons */
  max-width: calc(100% - 160px);   /* adjust if your buttons can get wider */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
}

.profEditBtn{
  border:0;
  background:transparent;
  font-weight:700;
  cursor:pointer;
  color:#6b7280;
  padding:6px 10px;
  border-radius:10px;
}

.profEditCancel{
  border:0;
  width: 40px;
  height: 40px;
  background:f1f3f5;
  font-weight:700;
  cursor:pointer;
  color:#6b7280;
  padding:6px 10px;
  border-radius:10px;
}

.profEditCancel:hover {
	background: #e1e3e5;
}



.profEditBtn--primary{
  color:rgb(5, 104, 204);
  background:#f1f3f5;
}

.profEditBody{
  padding:18px 16px;
}

.profEditHint{
  font-size:13px;
  color:#6b7280;
  margin-bottom:10px;
}

.profEditInput{
  width:100%;
  height:48px;
  border-radius:8px;
  border:0;
  background: #f1f3f5;
  padding:0 14px;
  font-size:16px;
  outline:none;
}

/* .profEditInput:focus{
  border-color:#9bbcff;
  box-shadow:0 0 0 3px rgba(47,111,237,.15);
} */

.profEditError{
  margin-top:10px;
  font-size:13px;
  color:#dc2626;
}

/* ===== Sheet overlay (ANCHOR INSIDE profPanel) ===== */

.profSheetOverlay{
  position:absolute;           /* IMPORTANT: inside .profPanel */
  inset:0;
  z-index:8;
  display:flex;
  align-items:flex-end;        /* always bottom */
  justify-content:center;

  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease-out;
}

.profSheetOverlay[hidden]{ 
	display:none !important; 
}

.profSheetOverlay.is-open{
  opacity:1;
  pointer-events:auto;
}

.profSheetBackdrop{
  position:absolute;
  inset:0;
  /* Profile overlay already dims the page; this is just the "inside modal" dim */
  background:rgba(0,5,10,.20);
}

.profSheetPanel{
  position:relative;
  width:100%;
  border-top-right-radius:18px;
  border-top-left-radius: 18px;
  background:#fff;
  box-shadow:0 18px 40px rgba(0,5,10,.6);
  overflow:hidden;

  /* slide up */
  transform:translateY(120%);
  transition:transform .22s ease-out;
}

.profSheetOverlay.is-open .profSheetPanel{
  transform:translateY(0);
}



@media (prefers-reduced-motion: reduce){
  .profSheetOverlay,
  .profSheetPanel{
    transition:none;
  }
}

.profSheetHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px 3px clamp(18px, 2vw, 24px);
  background:#f1f3f5;
}

.profSheetTitle{ 
	font-weight:600; 
	color:#000; 
	font-size: 18px;

}

.profSheetX {
  width:40px; 
  height:40px;
  border-radius:10px;
  border:0;
  background:#f1f3f5;
  font-size:26px;
  cursor:pointer;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* .profSheetX:hover {
	background: #e1e3e5;
} */

.profSheetBody { 
	padding:5px clamp(4px, 1vw, 13px) 25px; 
}

.profSheetBtn {
  width:100%;
  border:0;
  background:#fff;
  padding:14px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:400;
  text-align:left;
  font-size: 15px;
}

.profSheetBtn:hover {
  background:#f5f7f9;
}

.profCropBtnCancel{
  width:100%;
  border:0;
  background:#f1f3f5;
  color: #000;
  padding:14px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.profCropBtnCancel:hover{
  background:#e1e3e5;
}

.profCropBtnDone{
  width:100%;
  border:0;
  background:#000;
  color: #fff;
  padding:14px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  font-size: 15px;
  cursor: pointer;
}


.profSheetBtn + .profSheetBtn{ 
	margin-top:0px; 
}

.profSheetBtn--danger{ 
	color:#dc2626; 
}

.profSheetBtn--primary{ 
	background:#111; 
	color:#fff; 
}

.profSheetNote{
  padding:10px 4px 0;
  font-size:13px;
  color:#6b7280;
  text-align:center;
}

/* ===== Lightbox ===== */

.profLightbox{
  position:fixed;
  inset:0;
  z-index:1300;
  display:flex;
  align-items:center;
  justify-content:center;
}

.profLightbox[hidden]{ 
	display:none !important; 
}

.profLightboxBackdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.78);
}

.profLightboxImg{
  position:relative;
  z-index:1;
  width:min(92vw, 520px);
  height:auto;
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}

.profLightboxClose{
  position:absolute;
  right:14px;
  top:14px;
  z-index:2;
  width:44px;
  height:44px;
  border-radius:999px;
  border:0;
  background:#fff;
  font-size:28px;
  cursor:pointer;
}

/* ===== Busy overlay ===== */

.profBusy{
  position:absolute;
  inset:auto 0 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  background:rgba(255,255,255,.9);
  border-top:1px solid #e5e7eb;
  z-index:6;
}

.profSpinner{
  width:18px;
  height:18px;
  border-radius:999px;
  border:2px solid rgba(0,0,0,.18);
  border-top-color: rgba(0,0,0,.65);
  animation: profSpin .9s linear infinite;
}

@keyframes profSpin{ 
	to { 
		transform:rotate(360deg); 
	} 
}

/* Mobile: full-screen panel */
@media (max-width: 500px){
  .profPanel {
    width:100%;
    height:100%;
	 max-height:none;
    border-radius:0;
  }

   .profBackdrop{
   position:absolute;
   inset:0;
   background:rgba(255,255,255,.50);
   }

}

/* ===== Crop UI inside sheet ===== */
.profCropViewport{
  width:min(320px, 84vw);
  aspect-ratio:1/1;
  margin:12px auto 14px;
  border-radius:16px;
  background:#e9ecef;
  overflow:hidden;
  position:relative;
  touch-action:none; /* enables drag on mobile */
  border: 1px solid #e1e3e5;
}

.profCropViewport img{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}

.profCropControls{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 6px 12px;
}

.profCropZoom{
  flex:1;
}

.profCropActions{
  display:flex;
  gap:10px;
  padding:0 6px 6px;
}

.profCropActions .profSheetBtn{
  flex:1;
  text-align:center;
}

.profPromoDesc{
  margin:0;
  padding:6px 16px 8px;
  font-size:15px;
  line-height:1.35;
  color:#555;
}

.profPromoCodeRow{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 16px 14px;
}

.profPromoCodePill{
  background:#f1f3f5;
  border-radius:10px;
  padding:8px 18px;
  font-size:25px;
  font-weight:700;
  text-align:center;
  color:#e65000;
  user-select:none;
}

.profPromoCodePill.is-copied{
  box-shadow:0 0 0 3px rgba(47, 158, 68, .25) inset;
}

.profPromoIconBtn{
  width:54px;
  height:54px;
  border:0;
  border-radius:10px;
  background:#f1f3f5;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#111;
}

.profPromoIconBtn:hover{
  background:#e1e3e5;
}

.profPromoDivider{
  height:1px;
  background:#eef0f2;
  margin:0 16px 10px;
}

.profPromoSectionTitle{
  padding:12px 16px 0;
  font-size:16px;
  font-weight:700;
  color:#000;
}

.profPromoSectionText{
  margin:0;
  padding:0px 16px 12px;
  font-size:15px;
  line-height:1.35;
  color:#555;
}

.profPromoBalanceRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:0 16px 10px;
}

.profPromoMoneyPill{
  background:#f1f3f5;
  border-radius:10px;
  padding:8px 18px;
  font-size:25px;
  font-weight:700;
  color:#069220;
  text-align:center;
}

.profPromoStats{
  text-align:right;
  flex:1 1 auto;
}

.profPromoUsers{
  font-size:18px;
  font-weight:700;
  color:#000;
}

.profPromoEarned{
  font-size:14px;
  color:#555;
}

/* small phones */
@media (max-width: 380px){
  .profPromoIconBtn{ width:48px; height:48px; }
}

.profPromoActions{
  margin-left:auto;      /* <-- pushes this group to the right */
  display:flex;
  gap:12px;
  align-items:center;
}

/* ===== Distance Unit radio rows ===== */
.profRadioGroup{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
}

.profRadioRow{
  width:100%;
  border:0;
  background:#fff;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 13px;
  cursor:pointer;
  text-align:left;
}


.profRadioDot{
  width:18px;
  height:18px;
  border-radius:999px;
  border:2px solid #c0c5cc;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.profRadioRow.is-selected .profRadioDot{
  border-color:#000;
}

.profRadioRow.is-selected .profRadioDot::after{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:#000;
}

.profRadioLabel{
  font-size:15px;
  font-weight:400;
  color:#000;
}


/* Let the edit body grow and scroll if needed (mobile keyboard) */
.profEditBody{
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Password edit mode ===== */
.profEdit.is-pass .profEditBody{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:0px 22px 28px;
}


/* ===== Help overlay (inside panel) ===== */
.profHelp{
  position:absolute;
  inset:0;
  background:#fff;
  display:flex;
  flex-direction:column;
  z-index:6;

  opacity:0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.profHelp[hidden]{ display:none !important; }
.profHelp.is-open{
  opacity:1;
  transform: translateY(0);
}

.profHelpTop{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 18px;
  background:#f1f3f5;
  min-height:56px;
}

#profHelpBack{
  position:absolute;
  left:12px;
  z-index:2;
}

.profHelpTitle{
  position:absolute;
  top:18px;
  z-index:1;
  font-weight:600;
  color:#000;
  max-width: calc(100% - 160px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:17px;
}

.profHelpSendBtn{
  position:absolute;
  right:18px;
  top:18px;
  z-index:2;
  border:0;
  background:transparent;
  font-weight:800;
  cursor:pointer;
  padding:6px 10px;
  border-radius:10px;
  font-size: 15px;
  color:#07f;
}
.profHelpSendBtn:disabled{
  color: #aaa;
  cursor:default;
}

.profHelpBody {
  padding:18px 22px;
}

.profHelpText{
  font-size:16px;
  padding: 0 4px;
  line-height:1.45;
  color:#333;
  font-size: 400;
}

.profHelpMail{
  color:#0055cc;
  font-weight: 600;
  text-decoration:none;
}
.profHelpMail:hover{
  text-decoration:underline;
}

.profHelpContactBtn{
  margin-top:18px;
  width:100%;
  height:44px;
  border:0;
  border-radius:10px;
  background:#000;
  color:#fff;
  font-weight:500;
  font-size: 15px;
  cursor:pointer;
}
.profHelpContactBtn:active{ transform: translateY(1px); }

.profHelpForm{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.profHelpInput{
  width:100%;
  height:48px;
  border-radius:10px;
  border:0;
  background:#f1f3f5;
  padding:0 14px;
  font-size:16px;
  outline:none;
}

.profHelpTextarea{
  width:100%;
  border-radius:10px;
  border:0;
  background:#f1f3f5;
  padding:12px 14px;
  font-size:16px;
  outline:none;
  resize:none;
  min-height:140px;
}

.profHelpError{
  font-size:13px;
  color:#dc2626;
}

.profHelpToast{
  position:absolute;
  left:0; right:0;
  bottom:22px;
  display:flex;
  justify-content:center;
  pointer-events:none;
}
.profHelpToastBox{
  background:rgba(17,24,39,.92);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-size:14px;
}


.profPassWrap{
  width:80%;
  max-width:420px;
}

.profPassField{
  margin:10px 0 0;
}

.profPassInput{
  width:100%;
  border:0;
  border-bottom:1px solid #cfd6dd;
  background:transparent;
  padding:14px 6px 10px;
  font-size:17px;
  outline:none;
}

.profPassInput::placeholder{
  color:#b6bcc4;
}

.profPassSubmit{
	position: relative;
	width:100%;
	margin-top:26px;
	height:46px;
	border:0;
	border-radius:8px;
	background:#000;
	color:#fff;
	font-weight:400;
	font-size:17px;
	cursor:pointer;
}

.profPassSubmit .profBtnTxt{
   transition: opacity .15s ease;
}

.profPassSubmit .profBtnSpin{
   display:none;
   position:absolute;
   left:50%;
   top:50%;
   transform:translate(-50%, -50%);
   width:18px;
   height:18px;
   border-radius:999px;
   border:2px solid rgba(255,255,255,.35);
   border-top-color:#fff;
   animation: profSpin .9s linear infinite; /* you already have @keyframes profSpin */
}

.profPassSubmit.is-loading .profBtnTxt{ 
   opacity:0; 
}

.profPassSubmit.is-loading .profBtnSpin{ 
   display:block; 
}


.profPassSubmit:disabled{
   color: #9ab;
   cursor:default;
}

.profPassForgot{
	display: block;
	margin:50px auto;
	border:0;
	background:transparent;
	color:#334155;
	font-size:16px;
	cursor:pointer;
}


.floatFieldPass{
  position:relative;
  background:#f1f3f5;
  border-radius:8px;
  padding:6px 16px 6px;      /* top padding creates room for the floated label */
}

.floatFieldPass input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  font-size:16px;              /* avoid iOS zoom */
  padding:18px 0 0;
}

.floatFieldPass label{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  color:#8a8f96;
  font-size:16px;
  font-weight:400;
  pointer-events:none;
  transition: top .16s ease, transform .16s ease, font-size .16s ease, color .16s ease;
}

/* float when focused OR when there is a value */
.floatFieldPass input:focus + label,
.floatFieldPass input:not(:placeholder-shown) + label{
  top:5px;
  transform:none;
  font-size:12px;
  color:#0454d4;
}

/* Forgot password message */
.profPassInfo{
  text-align:center;
  color:#345;
  font-size:17px;
  line-height:1.35;
  margin:16px 0 22px;
}

/* Centered alert style using the same sheet */
.profSheetOverlay.is-center{
  align-items:center;
}
.profSheetOverlay.is-center .profSheetPanel{
  width:min(420px, calc(100% - 40px));
  border-radius:14px;
  transform:scale(.92);
}
.profSheetOverlay.is-center.is-open .profSheetPanel{
  transform:scale(1);
}

/* Alert body + actions like Android dialog */
.profAlertBody{
  padding:5px 18px 10px;
  color:#333;
  font-size:15px;
  line-height:1.35;
}
.profAlertActions{
  display:flex;
  justify-content:flex-end;
  padding:0 14px 14px;
}
.profAlertLink{
  border:0;
  background:#000;
  border-radius: 8px;
  font-weight:500;
  letter-spacing:.02em;
  color:#fff;
  padding:10px 15px;
  cursor:pointer;
}


/* Center dialog variant: hide sheet head and use text actions */
.profSheetOverlay.is-dialog .profSheetHead{ 
   display:none; 
}

.profSheetOverlay.is-dialog .profSheetBody{ 
   padding:0px 0px 16px; 
}

.profDialogTitle{
  margin:0 0 6px;
  font-size:18px;
  font-weight:700;
  color:#000;
}
.profDialogMsg{
  margin:0 20px 12px;
  font-size:14px;
  color:#333;
}
.profDialogActions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:0 20px;
}
.profDialogBtn{
  border:0;
  background:none;
  font-weight:500;
  cursor:pointer;
  border-radius: 8px;
  padding:10px 16px;
  font-size:14px;
}
.profDialogBtn--cancel{ 
   background: #f1f3f5;
   color:#000; 
}

.profDialogBtn--cancel:hover{ 
   background: #e1e3e5; 
}

.profDialogBtn--danger{ 
   background: #000;
   color:#fff; 
}

/* ===== Delete account overlay (full screen, like order help) ===== */
.profDelOverlay{
  position:absolute;
  inset:0;
  z-index:7;               /* below sheet (8), above main content */
  background:#ffffff;
  display:flex;
  flex-direction:column;

  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s ease, transform .18s ease;
}
.profDelOverlay[hidden]{ display:none !important; }
.profDelOverlay.is-open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.profDelHeader{
  position:relative;
  padding:18px 12px 12px;
  text-align:center;
  background:#f1f3f5;
}
.profDelTitle{
  margin:0;
  font-size:18px;
  font-weight:600;
  color:#000;
}
.profDelCloseBtn{
  position:absolute;
  top:12px;
  width:40px;
  height:40px;
  border-radius:10px;
  border:0;
  background:#f1f3f5;
  font-size:30px;
  line-height:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0; 
}

.profDelCloseBtn:hover{ 
   background:#f1f3f5; 
}

.profDelBody{
  flex:1;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  padding:0 24px 24px;
}
.profDelIntro{
  font-size:15px;
  color:#000;
  margin:2px -24px 18px;
  padding:12px 24px;
  background:#f1f3f5;
  line-height:1.35;
}

.profDelForm{
  display:flex;
  flex-direction:column;
  gap:13px;
}

.profDelReason{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:13px;
  font-size:14px;
  color:#111827;
}
.profDelChk{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.profDelChkFake{
  width:20px;
  height:20px;
  border-radius:4px;
  border:1px solid #c1c3c5;
  background:#fafbfc;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.profDelChkFake::after{ content:''; }

.profDelChk:checked + .profDelChkFake{
  background:#000;
  border-color:#000;
}
.profDelChk:checked + .profDelChkFake::after{
  content:'\2713';
  color:#ffffff;
  font-size:14px;
  font-weight:600;
}

.profDelReasonLabel{
  flex:1;
  line-height:1.3;
}

.profDelMessage{
  width:100%;
  min-height:90px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e1e3e5;
  background:#fafbfc;
  font-size:14px;
  resize:vertical;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
/* .profDelMessage:focus{
  box-shadow:0 0 0 1px rgba(15,23,42,0.25);
} */

.profDelSubmit{
  margin-top:8px;
  width:100%;
  height: 44px;
  border-radius:10px;
  border:0;
  padding:12px 16px;
  font-size:15px;
  font-weight:500;
  color:#ffffff;
  background:#000;
  cursor:pointer;
  text-transform:uppercase;
  transition:background-color .16s ease, box-shadow .16s ease, transform .08s ease;
}
.profDelSubmit:hover{ background:#020617; }
.profDelSubmit:active{ transform:translateY(1px); }
.profDelSubmit:disabled{
  background:#b7bcc2;
  cursor:default;
  transform:none;
  box-shadow:none;
}

@media (prefers-reduced-motion: reduce){
  .profDelOverlay{ transition:none; }
}





/* Button loading spinner (inside the button) */
.profPassSubmit{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profBtnLabel{
  transition: opacity .15s ease;
}

.profBtnSpinner{
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: rgba(255,255,255,.95);
  opacity: 0;
  pointer-events: none;
  animation: profSpin .9s linear infinite; /* uses your existing keyframes */
  transition: opacity .15s ease;
}

.profPassSubmit.is-loading .profBtnLabel{ opacity: 0; }
.profPassSubmit.is-loading .profBtnSpinner{ opacity: 1; }

/* Small black popup toast (auto-hide) */
.profToast{
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 99999;
}

.profToastBox{
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.25;
  max-width: calc(100vw - 48px);
  text-align: center;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.profToast.is-show .profToastBox{
  opacity: 1;
  transform: translateY(0);
}
