

/* ======= techz-render msg-box ======= */

.tchzr-backdrop *, .tchzr-backdrop-light * {
  width: auto;
}
/* ======= DARK THEME ======= */
.tchzr-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.397);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
}
.tchzr-b-msg-box {
  background-color: #1f2937;
  color: #f9fafb;
  max-width: 24rem;
  width: 100%;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid #374151;
  animation: fade-in 0.2s ease-in-out;
  font-family: 'Courier New', Courier, monospace;
}
.tchzr-b-msg-box h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #818cf8;
}
.tchzr-b-msg-box p {
  font-size: 0.875rem;
  color: #d1d5db;
}
.tchzr-msgb-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
.tchzr-msgb-actions button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: 'Courier New', Courier, monospace;
}
.tchzr-msgba-cancel {
  background-color: #374151;
  color: #f9fafb;
}
.tchzr-msgba-cancel:hover {
  background-color: #4b5563;
}
.tchzr-msgba-confirm {
  background-color: #4f46e5;
  color: white;
  font-weight: 500;
}
.tchzr-msgba-confirm:hover {
  background-color: #6366f1;
}
.tchzr-msgb-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: #9ca3af;
  font-size: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
}
.tchzr-msgb-close:hover {
  color: #ffffff;
}

/* ======= LIGHT THEME ======= */
.tchzr-backdrop-light {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.212);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.tchzr-b-msg-box-light {
  background-color: #ffffff;
  color: #111827;
  max-width: 24rem;
  width: 100%;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid #e5e7eb;
  animation: fade-in 0.2s ease-in-out;
  font-family: 'Courier New', Courier, monospace;
}
.tchzr-b-msg-box-light h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #4f46e5;
}
.tchzr-b-msg-box-light p {
  font-size: 0.875rem;
  color: #4b5563;
}
.tchzr-msgba-cancel-light {
  background-color: #e5e7eb;
  color: #374151;
}
.tchzr-msgba-cancel-light:hover {
  background-color: #d1d5db;
}
.tchzr-msgba-confirm-light {
  background-color: #4f46e5;
  color: white;
  font-weight: 500;
}
.tchzr-msgba-confirm-light:hover {
  background-color: #6366f1;
}
.tchzr-msgb-close-light {
  color: #6b7280;
}
.tchzr-msgb-close-light:hover {
  color: #111827;
}

@keyframes fade-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
