:root {
  --bg: #ffffff;
  --surface: #f3f5f7;
  --surface-2: #eef1f4;
  --text: #121212;
  --muted: #676767;

  --primary: #f0a13a;
  --primary-hover: #e39121;

  --border: #d8d8d8;
  --radius: 14px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: transparent;
  color: var(--text);
}


img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 18px;
  border-radius: 12px;

  font-weight: 700;
  font-size: 14px;
  text-decoration: none;

  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}

.btn-sm {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(240, 161, 58, 0.08);
}





/* Overlay styling */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
}


/* Modal */
.confirm-modal {
  width: 86%;
  max-width: 320px;

  padding: 22px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.22);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);

  text-align: center;
}


/* Text */
.confirm-modal p {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  line-height: 1.35;
}



/* Buttons */
.confirm-actions {
  display: flex;
  gap: 12px;
}


.confirm-btn {
  flex: 1;
  padding: 14px 0;

  border-radius: 16px;
  border: none;

  font-size: 15px;
  font-weight: 900;

  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.confirm-btn:active {
  transform: scale(0.95);
}

.confirm-btn.cancel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );

  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);

  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


.confirm-btn.danger {
  background: linear-gradient(
    180deg,
    rgba(255, 190, 120, 0.55) 0%,
    rgba(240, 161, 58, 0.45) 100%
  );

  color: #fff;
  border: 1px solid rgba(240, 161, 58, 0.7);

  box-shadow:
    0 8px 20px rgba(240, 161, 58, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Hidden */
.hidden {
  display: none;
}




/* alert*/
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: #e6e6e6;
  color: #181818;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  opacity: 0.95;
  z-index: 1200;
}


.toast.hidden {
  display: none;
}










/* in order to make things not copy-pasteable*/
/* Disable selection everywhere */
* {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Allow typing where users input text */
input,
textarea {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* iOS polish */
body {
  -webkit-tap-highlight-color: transparent;
}
