/* 🌐 Base Layout */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
}

/* 🔘 Buttons */
.btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary {
  background-color: #2b7de9;
  color: white;
  border: none;
}

.btn-secondary {
  background-color: #f4b400;
  color: black;
  border: none;
}

.btn-outline-dark {
  border-color: #333;
  color: #333;
}

/* ❌ Close Button */
.btn-close {
  font-size: 1.25rem;
  cursor: pointer;
}

/* 🧰 Compact Toolbar Toggle */
.compact-toolbar .btn-label {
  display: none;
}

/* 🐞 Debug Borders */
.debug-border {
  outline: 2px dashed red !important;
  background-color: rgba(255, 0, 0, 0.08);
  box-shadow: 0 0 0 2px red inset;
}

/* 🔔 Toast Styles */
.toast-container {
  z-index: 2000;
}

.toast {
  max-width: 320px;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.toast.info {
  background-color: #2b7de9;
  border-left: 6px solid #1a5fb4;
}

.toast.warn {
  background-color: #f4b400;
  border-left: 6px solid #c49000;
  color: #222;
}

.toast.error {
  background-color: #d93025;
  border-left: 6px solid #a1201a;
}

.toast::before {
  content: '';
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.toast.info::before {
  content: 'ℹ️';
}

.toast.warn::before {
  content: '⚠️';
}

.toast.error::before {
  content: '❌';
}

#sect05 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* optional backdrop */
  z-index: 1050; /* above everything */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ⏳ Loader Section */
#div06 {
  text-align: center;
}


/* 🐞 Debug Panel */
#div05 {
  min-height: 100px;
}

/* 📦 Modal Fixes */
.modal-backdrop.show {
  opacity: 0.5;
}

/* 🧭 Top/Bottom Buttons */
#sect09 button {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

/* 🛠️ Accessibility: Inert Visual Aid (optional) */
[inert] {
  pointer-events: none;
  user-select: none;
  opacity: 0.6;
}

