/* Custom Project Themed Confirm Modal */
.custom-confirm-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-confirm-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.custom-confirm-card {
  width: 100%;
  max-width: 340px;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95), 0 0 30px rgba(239, 68, 68, 0.1);
  transform: scale(0.92);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.custom-confirm-overlay.is-active .custom-confirm-card {
  transform: scale(1);
}

.custom-confirm-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #ff4777;
}

.custom-confirm-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.custom-confirm-msg {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 22px 0;
}

.custom-confirm-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.custom-confirm-btn-cancel {
  flex: 1;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.custom-confirm-btn-cancel:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.12);
}

.custom-confirm-btn-ok {
  flex: 1;
  height: 46px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-confirm-btn-ok.is-danger {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
}

.custom-confirm-btn-ok.is-danger:active {
  transform: scale(0.97);
}

.custom-confirm-btn-ok.is-primary {
  background: #00f076;
  color: #020817;
  box-shadow: 0 4px 18px rgba(0, 240, 118, 0.35);
}

.custom-confirm-btn-ok.is-primary:active {
  transform: scale(0.97);
}

/* Light Theme overrides for Confirm Dialog */
html[data-theme="light"] .custom-confirm-overlay,
body.light-theme .custom-confirm-overlay {
  background: rgba(15, 23, 42, 0.45) !important;
}

html[data-theme="light"] .custom-confirm-card,
body.light-theme .custom-confirm-card {
  background: #ffffff !important;
  background-image: none !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.15) !important;
  color: #000000 !important;
}

html[data-theme="light"] .custom-confirm-title,
body.light-theme .custom-confirm-title {
  color: #000000 !important;
}

html[data-theme="light"] .custom-confirm-msg,
body.light-theme .custom-confirm-msg {
  color: #475569 !important;
}

html[data-theme="light"] .custom-confirm-btn-cancel,
body.light-theme .custom-confirm-btn-cancel {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .custom-confirm-btn-cancel:hover,
body.light-theme .custom-confirm-btn-cancel:hover {
  background: #e2e8f0 !important;
}

/* ── Custom Time Picker Modal (Dark Neon / OLED Obsidian) ── */
.custom-time-picker-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-time-picker-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.custom-time-picker-card {
  width: 100%;
  max-width: 360px;
  background: #090e17;
  border: 1px solid rgba(0, 240, 118, 0.28);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 240, 118, 0.12);
  transform: scale(0.92);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.custom-time-picker-overlay.is-active .custom-time-picker-card {
  transform: scale(1);
}

.custom-time-picker-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 240, 118, 0.12);
  border: 1px solid rgba(0, 240, 118, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #00f076;
}

.custom-time-picker-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.custom-time-picker-sub {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 20px 0;
}

/* Digital Clock Stepper Container */
.custom-time-steppers-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 12px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.custom-time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.custom-time-step-btn {
  width: 52px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #00f076;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.custom-time-step-btn:hover {
  background: rgba(0, 240, 118, 0.2);
  border-color: rgba(0, 240, 118, 0.4);
}

.custom-time-step-btn:active {
  transform: scale(0.92);
}

.custom-time-box {
  width: 68px;
  height: 54px;
  border-radius: 14px;
  background: rgba(12, 18, 28, 0.95);
  border: 1.5px solid rgba(0, 240, 118, 0.4);
  box-shadow: 0 0 16px rgba(0, 240, 118, 0.18), inset 0 0 8px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.custom-time-unit-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.custom-time-colon {
  font-size: 34px;
  font-weight: 900;
  color: #00f076;
  text-shadow: 0 0 12px rgba(0, 240, 118, 0.6);
  margin-top: -22px;
}

/* Preset Chips */
.custom-time-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  margin-bottom: 22px;
}

.custom-time-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 12px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-time-chip:hover {
  background: rgba(0, 240, 118, 0.12);
  border-color: rgba(0, 240, 118, 0.35);
  color: #00f076;
}

.custom-time-chip:active {
  transform: scale(0.96);
}

/* Actions */
.custom-time-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.custom-time-btn-cancel {
  flex: 1;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.custom-time-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
}

.custom-time-btn-save {
  flex: 1;
  height: 46px;
  background: #00f076;
  color: #000000;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 240, 118, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.custom-time-btn-save:hover {
  background: #17e682;
  box-shadow: 0 6px 22px rgba(0, 240, 118, 0.6);
}

/* ── Custom Schedule Picker List ── */
.custom-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
}

.custom-schedule-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.custom-schedule-item:hover,
.custom-schedule-item.is-selected {
  background: rgba(0, 240, 118, 0.12);
  border-color: rgba(0, 240, 118, 0.4);
  color: #00f076;
}

/* ── Custom Prompt Input ── */
.custom-prompt-input-field {
  width: 100%;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  margin: 12px 0 20px 0;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-prompt-input-field:focus {
  border-color: #00f076;
  box-shadow: 0 0 14px rgba(0, 240, 118, 0.35);
}

