/* ==========================================================================
   Tropic Arts — Custom Styles
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. BASE / BODY
   --------------------------------------------------------------------------- */
:root {
  --bw-body-color: #737373;
  --bw-dark: #42424a;
  --bw-info: #1a73e8;
  --bw-bright-blue: #105e7f;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--bw-body-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}

body.fade-in {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

p {
  font-weight: 500;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   2. TYPOGRAPHY UTILITIES
   --------------------------------------------------------------------------- */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  font-family: "Newsreader", serif;
  letter-spacing: -0.05rem;
  font-weight: 400;
}

h1,
.h1 {
  font-size: 3rem;
}
h2,
.h2 {
  font-size: 2.5rem;
}
h3,
.h3 {
  font-size: 2rem;
}
h4,
.h4 {
  font-size: 1.375rem;
}
h5,
.h5 {
  font-size: 1.125rem;
}
h6,
.h6 {
  font-size: 1rem;
  line-height: 1.625;
}

.font-weight-bold {
  font-weight: 600 !important;
}

.font-weight-normal {
  font-weight: 400 !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.5;
}

.font-body {
  font-family: "Montserrat", sans-serif;
}

.text-xl {
  font-size: 4rem !important;
}

/* ---------------------------------------------------------------------------
   3. COLOR OVERRIDES
   --------------------------------------------------------------------------- */
.text-dark {
  color: var(--bw-dark) !important;
}

.text-info {
  color: var(--bw-info) !important;
}

.text-gold {
  color: #c9a96e !important;
}

/* ---------------------------------------------------------------------------
   4. BACKGROUND UTILITIES
   --------------------------------------------------------------------------- */
.bg-bright-blue {
  background-color: var(--bw-bright-blue) !important;
}

.bg-gold {
  background-color: #c9a96e !important;
}

.bg-gray-50 {
  background-color: #f8f9fa !important;
}

.bg-gray-100 {
  background-color: #f5f5f5 !important;
}

.bg-gray-200 {
  background-color: #e5e5e5 !important;
}

.bg-gray-800 {
  background-color: #191817 !important;
}

.bg-pastel-green {
  background-color: #edf7ee !important;
}

.bg-pastel-blue {
  background-color: #eaf4fb !important;
}

.bg-pastel-purple {
  background-color: #f1ecf8 !important;
}

.bg-gradient-dark {
  background: linear-gradient(195deg, #42424a 0%, #191817 100%) !important;
}

.bg-dark-gradient {
  background: linear-gradient(195deg, #42424a 0%, #191817 100%);
}

/* ---------------------------------------------------------------------------
   5. OPACITY UTILITIES
   --------------------------------------------------------------------------- */
.opacity-1 {
  opacity: 0.1 !important;
}

.opacity-6 {
  opacity: 0.6 !important;
}

.opacity-7 {
  opacity: 0.7 !important;
}

.opacity-8 {
  opacity: 0.8 !important;
}

/* ---------------------------------------------------------------------------
   6. SPACING UTILITIES
   --------------------------------------------------------------------------- */
.mt-6 {
  margin-top: 4rem !important;
}

.mt-n6 {
  margin-top: -4rem !important;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.ms-n3 {
  margin-left: -1rem !important;
}

/* ---------------------------------------------------------------------------
   7. SIZING UTILITIES
   --------------------------------------------------------------------------- */
.min-vh-25 {
  min-height: 25vh !important;
}

.min-vh-35 {
  min-height: 35vh !important;
}

/* ---------------------------------------------------------------------------
   8. BORDER RADIUS UTILITIES
   --------------------------------------------------------------------------- */
.border-radius-lg {
  border-radius: 0.5rem;
}

.border-radius-3xl {
  border-radius: 1.5rem;
}

.border-radius-3xl-top {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

.border-radius-3xl-bottom {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

/* ---------------------------------------------------------------------------
   9. GLASSMORPHISM / BLUR EFFECTS
   --------------------------------------------------------------------------- */
.blur {
  box-shadow: inset 0px 0px 2px rgba(254, 254, 254, 0.82);
  -webkit-backdrop-filter: saturate(100%) blur(16px);
  backdrop-filter: saturate(100%) blur(16px);
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.blur.card,
.blur.card-body {
  background-color: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: saturate(100%) blur(24px);
  backdrop-filter: saturate(100%) blur(24px);
}

.shadow-blur {
  box-shadow: inset 0 0px 1px 1px rgba(254, 254, 254, 0.7),
    0 3px 12px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1) !important;
}

/* ---------------------------------------------------------------------------
   10. CARD OVERRIDES
   --------------------------------------------------------------------------- */
.card {
  border: 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.main-wrapper.card {
  border-radius: 0;
}

.light-border {
  border: 1px solid #eee;
}

/* ---------------------------------------------------------------------------
   11. ACCORDION OVERRIDES
   --------------------------------------------------------------------------- */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: #737373;
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='%23737373' viewBox='0 0 256 256'><path d='M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm44.24-110.24a6,6,0,0,1,0,8.48l-40,40a6,6,0,0,1-8.48,0l-40-40a6,6,0,0,1,8.48-8.48L128,143.51l35.76-35.75A6,6,0,0,1,172.24,107.76Z'/></svg>");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='%23191817' viewBox='0 0 256 256'><path d='M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm44.24-110.24a6,6,0,0,1,0,8.48l-40,40a6,6,0,0,1-8.48,0l-40-40a6,6,0,0,1,8.48-8.48L128,143.51l35.76-35.75A6,6,0,0,1,172.24,107.76Z'/></svg>");
  --bs-accordion-btn-icon-width: 1.75rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: #191817;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-color: #737373;
}

.accordion-button {
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/* ---------------------------------------------------------------------------
   12. PAGE HEADER
   --------------------------------------------------------------------------- */
.page-header {
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: 50%;
}

.page-header .container {
  z-index: 1;
}

/* ---------------------------------------------------------------------------
   13. ICON MOVE-RIGHT ANIMATION
   --------------------------------------------------------------------------- */
.icon-move-right svg {
  transition: all 0.2s cubic-bezier(0.34, 1.61, 0.7, 1.3);
}

.icon-move-right:hover svg,
.icon-move-right:focus svg {
  transform: translateX(5px);
}

/* ---------------------------------------------------------------------------
   14. Z-INDEX UTILITIES
   --------------------------------------------------------------------------- */
.z-index-sticky {
  z-index: 1020;
}

.z-index-3 {
  z-index: 3 !important;
}

.z-index-1 {
  z-index: 1 !important;
}

/* ---------------------------------------------------------------------------
   15. MAX-WIDTH UTILITIES
   --------------------------------------------------------------------------- */
.max-width-200 {
  max-width: 200px !important;
}

.max-width-300 {
  max-width: 300px !important;
}

/* ---------------------------------------------------------------------------
   16. NAVBAR TOGGLER (hamburger → X animation)
   --------------------------------------------------------------------------- */
.navbar-toggler .navbar-toggler-icon {
  background-image: none;
}

.navbar-toggler .navbar-toggler-icon .navbar-toggler-bar {
  display: block;
  position: relative;
  width: 22px;
  height: 1px;
  border-radius: 1px;
  background: #191817;
  transition: all 0.2s;
  margin: 0 auto;
}

.navbar-toggler .navbar-toggler-icon .navbar-toggler-bar.bar2,
.navbar-toggler .navbar-toggler-icon .navbar-toggler-bar.bar3 {
  margin-top: 7px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar.bar1 {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
  margin-top: 4px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar.bar2 {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar.bar3 {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
  margin-top: 3px;
}

/* ---------------------------------------------------------------------------
   17. FOOTER
   --------------------------------------------------------------------------- */
.footer .nav-link {
  font-weight: 400;
  font-size: 0.875rem;
  padding-top: 0;
  padding-bottom: 0.25rem;
  line-height: 1.3;
}

.footer .nav-link:hover {
  opacity: 1 !important;
  transition: opacity 0.3s ease;
}

/* ---------------------------------------------------------------------------
   18. HORIZONTAL RULE
   --------------------------------------------------------------------------- */
hr.horizontal {
  background-color: transparent;
}

hr.horizontal.light {
  background-image: linear-gradient(
    90deg,
    hsla(0, 0%, 100%, 0),
    #fff,
    hsla(0, 0%, 100%, 0)
  );
}

hr.horizontal.dark {
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.4),
    transparent
  );
}

/* ---------------------------------------------------------------------------
   19a. HEADER DOCS BUTTON — shown only on guide pages
   --------------------------------------------------------------------------- */
.header-docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.02em;
  color: #42424a;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  line-height: 1;
  height: 100%;
}

.header-docs-btn:hover {
  border-color: #c9a96e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #42424a;
  text-decoration: none;
}

.header-docs-btn svg {
  flex-shrink: 0;
  color: #c9a96e;
}

/* ---------------------------------------------------------------------------
   19b. GUIDE SIDEBAR v2 — Always-drawer, Tropic Arts aesthetic
   --------------------------------------------------------------------------- */
/* ── Toggle button — now handled by header nav, hidden here ── */
.guide-sidebar__toggle {
  display: none !important;
}

/* ── Backdrop ── */
.guide-sidebar__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(66, 66, 74, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

guide-sidebar.open .guide-sidebar__backdrop {
  display: block;
  opacity: 1;
}

/* ── Nav panel — always a drawer, slides in from the right ── */
.guide-sidebar__nav {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 300px !important;
  z-index: 1050 !important;
  background: #fff !important;
  border: none !important;
  border-left: 1px solid #e5e5e5 !important;
  border-radius: 0 !important;
  overflow-y: auto;
  padding: 2rem 1.5rem !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

guide-sidebar.open .guide-sidebar__nav {
  transform: translateX(0) !important;
}

/* ── Drawer header — always visible ── */
.guide-sidebar__drawer-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e5e5;
}

.guide-sidebar__drawer-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3a3a3;
  font-family: "Montserrat", sans-serif;
}

.guide-sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #737373;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.guide-sidebar__close:hover {
  background: #f5f5f5;
  color: #42424a;
}

/* ── Theme selector ── */
.guide-sidebar__theme-selector {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e5e5;
}

.guide-sidebar__theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #42424a;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.guide-sidebar__theme-btn:hover {
  border-color: #c9a96e;
  background: #f8f9fa;
}

.guide-sidebar__theme-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #c9a96e;
}

.guide-sidebar__theme-label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guide-sidebar__chevron {
  flex-shrink: 0;
  color: #a3a3a3;
  transition: transform 0.2s ease;
}

.guide-sidebar__theme-btn[aria-expanded="true"] .guide-sidebar__chevron {
  transform: rotate(180deg);
}

.guide-sidebar__dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 0.75rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
  padding: 0.375rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.guide-sidebar__dropdown.open {
  display: block;
}

.guide-sidebar__dropdown-item {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #525252;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.guide-sidebar__dropdown-item:hover {
  background: #f8f9fa;
  color: #42424a;
}

.guide-sidebar__dropdown-item--active {
  color: #42424a;
  font-weight: 600;
  background: #faf6ef;
}

.guide-sidebar__dropdown-item--active:hover {
  background: #faf6ef;
}

/* ── Nav groups ── */
.guide-sidebar__group {
  margin-bottom: 1.5rem;
}

.guide-sidebar__heading {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3a3a3;
  margin-bottom: 0.375rem;
  padding: 0 0.75rem;
  font-family: "Montserrat", sans-serif;
}

.guide-sidebar__heading--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.15s ease;
}

.guide-sidebar__heading--toggle:hover {
  color: #42424a;
}

.guide-sidebar__collapse-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.guide-sidebar__heading--toggle[aria-expanded="false"]
  .guide-sidebar__collapse-icon {
  transform: rotate(-90deg);
}

/* ── Collapsible link container ── */
.guide-sidebar__group-links {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.guide-sidebar__group-links--open {
  grid-template-rows: 1fr;
}

.guide-sidebar__group-links-inner {
  overflow: hidden;
}

.guide-sidebar__link {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #737373;
  text-decoration: none;
  border-radius: 0.375rem;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.guide-sidebar__link:hover {
  background: #f8f9fa;
  color: #42424a;
}

.guide-sidebar__link.active {
  color: #42424a;
  font-weight: 600;
  background: #faf6ef;
  border-left-color: #c9a96e;
}

.guide-sidebar__link--empty {
  color: #d4d4d4;
  font-size: 0.8125rem;
  font-style: italic;
  cursor: default;
}

.guide-sidebar__link--empty:hover {
  background: transparent;
  color: #d4d4d4;
}

/* ── Desktop overrides — keep as drawer ── */
@media (min-width: 992px) {
  .guide-sidebar__toggle {
    display: none !important;
  }

  .guide-sidebar__backdrop {
    display: none;
  }

  guide-sidebar.open .guide-sidebar__backdrop {
    display: block;
    opacity: 1;
  }

  .guide-sidebar__nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 300px !important;
    border-radius: 0 !important;
    transform: translateX(100%) !important;
  }

  guide-sidebar.open .guide-sidebar__nav {
    transform: translateX(0) !important;
  }

  .guide-sidebar__drawer-header {
    display: flex !important;
  }
}

/* ---------------------------------------------------------------------------
   20. PAGE-SPECIFIC STYLES
   --------------------------------------------------------------------------- */

/* Step number circles */
.step-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: #c9a96e;
}

/* Callout boxes */
.article-callout {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-left: 3px solid #c9a96e;
}

.article-callout p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #525252;
  margin-bottom: 0;
}

.article-callout strong {
  color: #42424a;
}

.article-callout--tip {
  border-left-color: #4a9e7a;
}

.article-callout--info {
  border-left-color: #4a7eb5;
}

.article-callout--notice {
  border-left-color: #c9a96e;
}

/* Block accordion icon boxes */
.block-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-icon .material-icons-round {
  font-size: 20px;
  color: #fff;
}
.block-icon-green {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
}
.block-icon-blue {
  background: linear-gradient(135deg, #1a73e8, #42a5f5);
}
.block-icon-purple {
  background: linear-gradient(135deg, #9333ea, #a855f7);
}
.block-icon-teal {
  background: linear-gradient(135deg, #105e7f, #1b7fa5);
}

/* Settings list inside accordion bodies */
.settings-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.625rem;
  margin-bottom: 0;
}
.settings-list li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: #737373;
}
.settings-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4d4d4;
}

/* Section eyebrow labels */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-eyebrow .material-icons-round {
  font-size: 18px;
}

/* Code tag */
code {
  font-size: 0.85em;
  background: #f5f5f5;
  padding: 2px 7px;
  border-radius: 5px;
  color: #105e7f;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Colored top border for cards */
.card-top-teal {
  border-top: 4px solid #105e7f;
}

/* ---------------------------------------------------------------------------
   22. BUTTON OVERRIDES
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 40px !important;
  gap: 10px;
  padding: 14px 36px;
  background: #191817;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #5d5a56;
  color: #fff;
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ── Gold outline button ── */
.btn-outline-gold {
  color: #c9a96e;
  border-color: #c9a96e;
  background-color: transparent;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus,
.btn-outline-gold:active,
.btn-outline-gold.active {
  color: #fff;
  background-color: #c9a96e;
  border-color: #c9a96e;
}

/* ---------------------------------------------------------------------------
   23. EXTENDED SPACING (Material Kit replacements)
   --------------------------------------------------------------------------- */
.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-8 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.pt-7 {
  padding-top: 5rem !important;
}

.pt-8 {
  padding-top: 6rem;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-8 {
  padding-bottom: 6rem;
}

.mb-7 {
  margin-bottom: 5rem !important;
}

.mt-7 {
  margin-top: 5rem !important;
}

@media (min-width: 992px) {
  .mt-lg-7 {
    margin-top: 5rem !important;
  }

  .py-lg-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }

  .ps-lg-8 {
    padding-left: 6rem !important;
  }

  .pe-lg-8 {
    padding-right: 6rem !important;
  }
}

@media (min-width: 576px) {
  .py-sm-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* ---------------------------------------------------------------------------
   24. MIN-HEIGHT UTILITIES
   --------------------------------------------------------------------------- */
.min-vh-75 {
  min-height: 75vh !important;
}

.min-vh-90 {
  min-height: 90vh !important;
}

/* ---------------------------------------------------------------------------
   25. MAX-HEIGHT UTILITIES
   --------------------------------------------------------------------------- */
.max-height-600 {
  max-height: 600px !important;
}

/* ---------------------------------------------------------------------------
   26. BLUR-SHADOW IMAGE
   --------------------------------------------------------------------------- */
.blur-shadow-image {
  position: relative;
}

.blur-shadow-image img {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------------------
   27. FORM — INPUT GROUP STATIC (Material Kit replacement)
   --------------------------------------------------------------------------- */
.input-group-static {
  display: flex;
  flex-direction: column;
}

.input-group-static label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bw-dark);
  margin-bottom: 0.25rem;
}

.input-group-static .form-control {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d2d6da;
  border-radius: 0;
  padding-left: 0;
  background: transparent;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.input-group-static .form-control:focus {
  border-color: var(--bw-dark);
  box-shadow: none;
  outline: none;
}
/* ---------------------------------------------------------------------------
   28. BADGE-SPECIFIC STYLES
   --------------------------------------------------------------------------- */
.badge {
  --bs-badge-border-radius: 0.2rem;
}

/* ---------------------------------------------------------------------------
   29. TEXT-SANS-SERIF
   --------------------------------------------------------------------------- */
.text-sans-serif {
  font-family: "Montserrat", sans-serif !important;
}

/* ---------------------------------------------------------------------------
   30. HERO
   --------------------------------------------------------------------------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-collage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 960px;
  overflow: hidden;
  background: #f5f3ef;
}

/* The tilted image grid */
.hero-collage__rows {
  position: absolute;
  inset: -10% -5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  transform: rotate(-8deg) scale(1.15);
  transform-origin: center center;
}

/* Each scrolling row */
.hero-collage__row {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.hero-collage__row--left {
  animation: scrollLeft 60s linear infinite;
}
.hero-collage__row--right {
  animation: scrollRight 55s linear infinite;
}
.hero-collage__row--left-slow {
  animation: scrollLeft 70s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Image tiles */
.hero-collage__tile {
  flex-shrink: 0;
  width: 420px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.hero-collage__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Overlay — hide on desktop, used on mobile ── */
.hero-collage__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

.hero-collage__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: none;
}

/* ── Left frosted panel ── */
.hero-collage__content {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  bottom: 0;
  width: 33%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 3.5rem 3rem;
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  backdrop-filter: blur(40px) saturate(150%);
}

.hero-collage__content-inner {
  align-self: center;
}

/* Cap text width within the panel */
.hero-collage__content > * {
  max-width: 400px;
}

/* Soft feathered edge on the right side of the panel */
.hero-collage__content::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -80px;
  width: 80px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.68),
    rgba(255, 255, 255, 0.45) 30%,
    rgba(255, 255, 255, 0.18) 60%,
    transparent 100%
  );
  pointer-events: none;
  /* No backdrop-filter here — just a translucent fade */
}

.hero-collage__title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: #191817;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: none;
}

.hero-collage__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  color: rgba(66, 66, 74, 0.8);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-collage__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: #fff;
  color: #191817;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.hero-collage__cta:hover {
  background: #191817;
  color: #fff;
}

.hero-collage__cta svg {
  transition: transform 0.3s ease;
}
.hero-collage__cta:hover svg {
  transform: translateX(4px);
}

/* Pause on hover */
.hero-collage:hover .hero-collage__row {
  animation-play-state: paused;
}

/* ── Responsive — stacked on mobile ── */
@media (max-width: 991.98px) {
  .hero-collage {
    height: auto;
    max-height: none;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  /* Content panel — top block, no frost needed */
  .hero-collage__content {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    bottom: auto;
    padding: 6rem 2rem 3rem;
    align-items: center;
    text-align: center;
    background: #f5f3ef;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
  }

  .hero-collage__content::after {
    display: none;
  }

  .hero-collage__title {
    max-width: 560px;
  }

  .hero-collage__subtitle {
    max-width: 440px;
  }

  /* Cards section — below content */
  .hero-collage__rows {
    position: relative;
    inset: auto;
    height: 420px;
    transform: rotate(-8deg) scale(1.25);
    flex-shrink: 0;
  }

  .hero-collage__overlay,
  .hero-collage__vignette {
    display: none;
  }

  .hero-collage__tile {
    width: 280px;
    height: 187px;
    border-radius: 12px;
  }

  .hero-collage__row--left {
    animation-duration: 40s;
  }
  .hero-collage__row--right {
    animation-duration: 35s;
  }
  .hero-collage__row--left-slow {
    animation-duration: 45s;
  }
}

@media (max-width: 575.98px) {
  .hero-collage__content {
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero-collage__rows {
    height: 340px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-collage__row {
    animation: none !important;
  }
}

/* ── Demo next section ── */
.next-section {
  padding: 6rem 2rem;
  text-align: center;
  background: #f8f9fa;
}
.next-section h2 {
  font-size: 2.5rem;
  color: #42424a;
}
.next-section p {
  color: #737373;
  max-width: 540px;
  margin: 1rem auto 0;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
   31. Border Styles
   --------------------------------------------------------------------------- */

.section-container {
  border-inline: 1px solid #e5e5e5;
}

.divider {
  margin: 0;
  border: none;
  border-top: 1px solid #e5e5e5 !important;
}

.no-padding {
  padding: 0 !important;
}

hr {
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   From the Studio — Article Dividers
   --------------------------------------------------------------------------- */

/* Desktop: vertical lines between columns */
@media (min-width: 992px) {
  .studio-article {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .studio-article + .studio-article {
    border-left: 1px solid #e5e5e5;
  }
}

/* Mobile: horizontal lines between stacked articles */
@media (max-width: 991.98px) {
  .studio-article {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .studio-article + .studio-article {
    border-top: 1px solid #e5e5e5;
  }

  .studio-article:first-child {
    padding-top: 0;
  }

  .studio-article:last-child {
    padding-bottom: 0;
  }
}

/* ---------------------------------------------------------------------------
   Guide Article Layout
   --------------------------------------------------------------------------- */

/* ── Guide Hero ── */
.guide-hero {
  background: #f8f9fa;
}

.guide-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a3a3a3;
  margin-bottom: 2.5rem;
  font-family: "Montserrat", sans-serif;
  flex-wrap: wrap;
}

.guide-hero__breadcrumb a {
  color: #737373;
  text-decoration: none;
  transition: color 0.2s ease;
}

.guide-hero__breadcrumb a:hover {
  color: #42424a;
}

.guide-hero__breadcrumb svg {
  flex-shrink: 0;
  color: #d4d4d4;
}

.guide-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.guide-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  color: #42424a;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 780px;
}

.guide-hero__excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #737373;
  max-width: 640px;
  padding-bottom: 2rem;
}

/* ── Guide Content Body ── */
.guide-content {
  padding: 0 0 2rem;
}

.guide-content__section {
  padding: 3rem 0;
}

.guide-content__section h2 {
  font-size: 2rem;
  color: #42424a;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.guide-content__section > p {
  margin-bottom: 1.5rem;
}

.guide-content__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0;
}

/* ── Table of Contents (styles used by <article-toc> component) ── */
.article-toc__title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3a3a3;
  margin-bottom: 0.875rem;
  font-family: "Montserrat", sans-serif;
}

.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc__list li {
  margin-bottom: 0.25rem;
}

.article-toc__list a {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #737373;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.15s ease, color 0.15s ease;
  border-left: 2px solid transparent;
}

.article-toc__list a:hover {
  color: #42424a;
  background: #f8f9fa;
}

.article-toc__list a.active {
  color: #42424a;
  font-weight: 600;
  border-left-color: #c9a96e;
  background: #faf6ef;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .guide-hero {
    padding: 2rem 0 0;
  }

  .guide-content__section {
    padding: 2rem 0;
  }
}

/* ---------------------------------------------------------------------------
   From the Studio — Article Page Styles
   --------------------------------------------------------------------------- */

/* ── Article Hero ── */
.article-hero {
  background: #f8f9fa;
}

.article-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a3a3a3;
  margin-bottom: 2.5rem;
  font-family: "Montserrat", sans-serif;
}

.article-hero__breadcrumb a {
  color: #737373;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-hero__breadcrumb a:hover {
  color: #42424a;
}

.article-hero__breadcrumb svg {
  flex-shrink: 0;
  color: #d4d4d4;
}

.article-hero__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-hero__date {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a3a3a3;
  font-family: "Montserrat", sans-serif;
}

.article-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  color: #42424a;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 780px;
}

.article-hero__excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #737373;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.article-hero__featured-image {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
}

.article-hero__featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.article-image {
  overflow: hidden;
}

.article-image img {
  border-radius: 0.5rem;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ── Article Body ── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #525252;
  margin-bottom: 1.75rem;
}

.article-body h2 {
  font-size: 2rem;
  color: #42424a;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 1.5rem;
  color: #42424a;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-body blockquote {
  border-left: 3px solid #c9a96e;
  margin: 2.5rem 0;
  padding: 1.25rem 0 1.25rem 2rem;
}

.article-body blockquote p {
  font-family: "Newsreader", serif;
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.6;
  color: #42424a;
  margin-bottom: 0;
}

.article-body .article-callout {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-left: 3px solid #c9a96e;
}

.article-body .article-callout p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.article-body .article-callout strong {
  color: #42424a;
}

.article-body strong {
  font-weight: 600;
  color: #42424a;
}

.article-body a {
  color: #c9a96e;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.article-body a:hover {
  color: #42424a;
}

.article-body .inline-image {
  margin: 2.5rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.article-body .inline-image img {
  width: 100%;
  display: block;
  border-radius: 0.5rem;
}

.article-body .inline-image figcaption {
  font-size: 0.8125rem;
  color: #a3a3a3;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ── Article Horizontal Rule ── */
.article-body hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 3rem 0;
}

/* ── Article Footer / Author ── */
.article-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.article-footer__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin-bottom: 2.5rem;
}

.article-footer__author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.article-footer__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e, #b8944f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.article-footer__author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #42424a;
  margin-bottom: 0.125rem;
}

.article-footer__author-role {
  font-size: 0.8125rem;
  color: #a3a3a3;
  font-weight: 500;
}

/* ── Related Articles ── */
.related-articles__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3a3a3;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
}

/* ── Article Page Responsive ── */
@media (max-width: 991.98px) {
  .article-hero {
    padding: 2rem 0 0;
  }

  .article-hero__featured-image {
    max-height: 360px;
  }

  .article-body {
    padding: 2.5rem 0 3rem;
  }

  .article-body h2 {
    margin-top: 2.5rem;
  }

  .article-footer {
    padding: 0 0 3rem;
  }
}

@media (max-width: 767.98px) {
  .article-hero__featured-image {
    max-height: 260px;
    border-radius: 0.5rem;
  }

  .article-body blockquote {
    padding-left: 1.25rem;
    margin: 2rem 0;
  }

  .article-body blockquote p {
    font-size: 1.125rem;
  }
}

/* ---------------------------------------------------------------------------
   Feature image breakout
   --------------------------------------------------------------------------- */
/* Bleeds right: image starts in-flow and extends to the right edge of the viewport */
.img-bleed-right {
  width: calc(100% + ((100vw - 100%) / 2));
  max-width: none;
  border-radius: 1rem 0 0 1rem; /* rounds only the inner edge */
}

/* Bleeds left: image extends to the left edge of the viewport */
.img-bleed-left {
  width: calc(100% + ((100vw - 100%) / 2));
  max-width: none;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
  border-radius: 0 1rem 1rem 0;
}

/* On mobile, collapse back to normal fluid behavior */
@media (max-width: 991.98px) {
  .img-bleed-right,
  .img-bleed-left {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    border-radius: 1rem;
  }
}

/* ---------------------------------------------------------------------------
   Error Page Styles
   --------------------------------------------------------------------------- */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.error-page__content {
  text-align: center;
  padding: 2rem 1rem;
}

.error-page__code {
  font-family: "Newsreader", serif;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 400;
  color: #c9a96e;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05rem;
}

.error-page__heading {
  margin-bottom: 1rem;
}

.error-page__text {
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* ---------------------------------------------------------------------------
   File Upload Zone
   --------------------------------------------------------------------------- */
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bw-dark);
  margin-bottom: 0.25rem;
}

.file-upload {
  position: relative;
  border: 1.5px dashed #d4d4d4;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.file-upload:hover,
.file-upload--dragover {
  border-color: var(--bw-dark);
  background-color: #fafafa;
}

.file-upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  pointer-events: none;
  color: #a3a3a3;
}

.file-upload__content svg {
  margin-bottom: 0.25rem;
}

.file-upload__text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bw-dark);
}

.file-upload__hint {
  font-size: 0.75rem;
  color: #a3a3a3;
}

.file-upload__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  pointer-events: auto;
}

.file-upload__filename {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bw-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.file-upload__remove {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #a3a3a3;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.2s ease;
}

.file-upload__remove:hover {
  color: var(--bw-dark);
}

.file-upload--has-file {
  border-style: solid;
  background-color: #f8f9fa;
}

.file-upload--has-file .file-upload__input {
  pointer-events: none;
}

/* ── Multi-file preview list ── */
.file-upload__preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0;
}

.file-upload__file-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0.5rem;
}

.file-upload__file-row .file-upload__filename {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
}

.file-upload__filesize {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #999;
}

.file-upload__file-row .file-upload__remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.125rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.file-upload__file-row .file-upload__remove:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #333;
}

/* ---------------------------------------------------------------------------
   Toast Notifications
   --------------------------------------------------------------------------- */
.toast-container {
  z-index: 1080;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.toast-container .toast {
  min-width: 320px;
  max-width: 480px;
  border: none;
  border-radius: 0.5rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.toast-container .toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-container .toast .toast-body {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Success toast */
.toast-container .toast.alert-success {
  background-color: #191817;
  color: #fff;
}

.toast-container .toast.alert-success .toast-body::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2365d26e' viewBox='0 0 256 256'%3E%3Cpath d='M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Warning toast */
.toast-container .toast.alert-warning {
  background-color: #fff;
  color: var(--bw-dark);
  border: 1px solid #e5e5e5;
}

.toast-container .toast.alert-warning .toast-body::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23c9a96e' viewBox='0 0 256 256'%3E%3Cpath d='M230.07,189.87l-90-152a14,14,0,0,0-24.18,0l-90,152A14,14,0,0,0,38,210H218a14,14,0,0,0,12.1-20.13ZM218,198H38a2,2,0,0,1-1.73-2.88l90-152a2,2,0,0,1,3.46,0l90,152A2,2,0,0,1,218,198ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a8,8,0,1,1-8-8A8,8,0,0,1,138,180Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 575.98px) {
  .toast-container .toast {
    min-width: unset;
    width: calc(100% - 2rem);
  }
}
