@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

/* ============================================================
   Dolorock Design System
   Colors derived from the Dolorock logo:
   - Red ribbon (#cb1a22), poly-rock grey, dark stone background
   ============================================================ */

:root {
  /* Color variations to test:
     Original:        #cb1a22 dark / #9b1219 / #e8323a light
     Modern bright:   #dc2626 dark / #b91c1c / #ef4444 light
     Warm orange-red: #bf4c1a dark / #8a3a14 / #d97706 light
     Mountain green:  #3d6b4f dark / #1e3a2b / #c9953a light (from hero2)
     Logo dark red:   #9b1219 dark / #701015 / #c9953a light (rock gold)
  */
  --dr-red:        #9b1219;
  --dr-red-dark:   #701015;
  --dr-red-light:  #c9953a;
  --dr-stone:      #2a2a2a;
  --dr-stone-mid:  #4a4a4a;
  --dr-rock:       #9e9e9e;
  --dr-rock-light: #d0d0d0;
  --dr-bg:         #f4f3f1;
  --dr-white:      #ffffff;
  --dr-text:       #1a1a1a;
  --dr-text-muted: #666666;
  --dr-border:     #ddd;
  --dr-success:    #1a7a3a;
  --dr-warning:    #b87000;
  --dr-accent:     #d4b84a;  /* 2026 edition color (muted gold) */
  --dr-sandstone:  #7a6a50;  /* warm rock tone from hero image */
  --dr-focus:      #e08a20;
  --dr-radius:     6px;
  --dr-radius-input: 8px;
  --dr-shadow:     0 2px 12px rgba(0,0,0,0.12);
  --dr-font-heading: 'Oswald', sans-serif;
}

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

html { font-size: 16px; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dr-bg);
  color: var(--dr-text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header ---- */
.dr-header {
  background: var(--dr-stone);
  border-bottom: 7px solid var(--dr-accent);
  padding: 0;
}

.dr-header--sticky {
  position: sticky;
  top: 0;
  z-index: 400;
  transition: transform 0.25s ease;
}

.dr-header--hidden {
  transform: translateY(-100%);
}

.dr-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem 0.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dr-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.dr-header-brand img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 229, 0, 0.4));
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-header-brand img {
    height: 50px;
    filter: drop-shadow(0 0 14px rgba(255, 229, 0, 0.85));
  }
  .dr-header-brand {
    gap: 0.5rem;
  }
  .dr-header-inner {
    padding: 0.15rem 1rem 0.05rem;
  }
}

.dr-header-brand .dr-event-name {
  color: var(--dr-white);
  font-family: var(--dr-font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  opacity: 0.85;
}

.dr-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.dr-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.dr-nav a:hover { color: var(--dr-white); }

/* Language switcher (desktop) */
.dr-lang-switcher {
  display: flex;
  gap: 2px;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.2);
}

/* Hamburger button — hidden on desktop */
.dr-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.dr-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dr-white);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* Mobile menu overlay — hidden by default, fixed below header */
.dr-mobile-nav {
  display: none;
  background: var(--dr-stone);
  border-bottom: 2px solid var(--dr-accent);
  position: fixed;
  top: var(--dr-header-h, 50px);
  left: 0;
  right: 0;
  z-index: 399;
}

.dr-mobile-nav--open {
  display: block;
}

.dr-mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dr-mobile-nav-item:hover,
.dr-mobile-nav-item:active {
  background: rgba(255,255,255,0.06);
  color: var(--dr-white);
}

.dr-mobile-nav-lang {
  cursor: default;
}

.dr-mobile-nav-lang-options {
  display: flex;
  gap: 4px;
}

.dr-mobile-nav-lang-options .dr-lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-nav--desktop { display: none; }
  .dr-burger { display: flex; }
  .dr-mobile-nav { display: none; }
  .dr-mobile-nav--open { display: block; }
}

.dr-lang-btn {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}

.dr-lang-btn:hover {
  color: var(--dr-white);
  background: rgba(255,255,255,0.1);
}

.dr-lang-btn.active {
  color: var(--dr-stone);
  background: var(--dr-accent);
}

/* ---- Page title ribbon (from logo's "DOLOROCK" banner style) ---- */
.dr-page-title {
  background: var(--dr-sandstone);
  color: var(--dr-white);
  text-align: center;
  padding: 1.2rem 1.5rem;
  margin: 0;
  position: sticky;
  top: var(--dr-header-h, 0px);
  z-index: 390;
}

.dr-page-title h1 {
  margin: 0;
  font-family: var(--dr-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-page-title {
    padding: 0.35rem 1rem;
  }
  .dr-page-title h1 {
    font-size: 1.05rem;
  }
  .dr-page-tagline {
    font-size: 0.55rem;
  }
}

.dr-page-tagline {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  opacity: 0.75;
}

/* Hero variant — photo on the left, brand color fading in on the right.
   Image scales up to 1000px max. Gradient covers the right 30% of the
   image and is anchored to its right edge via a shared --hero-w var. */
.dr-page-title--hero {
  --hero-w: min(55%, 550px);
  padding: 2.0rem 1.5rem;
  background:
    linear-gradient(125deg, transparent calc(var(--hero-w) * 0.15), var(--dr-sandstone) calc(var(--hero-w) * 0.850)),
    var(--hero-img) left center / var(--hero-w) auto no-repeat,
    var(--dr-sandstone);
  text-align: right;
}

.dr-page-title--hero h1 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 0, 0, 0.25);
}

.dr-page-title--hero .dr-page-tagline {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-page-title--hero {
    --hero-w: min(90%, 550px);
    padding: 1.25rem 1rem;
  }
}

/* Landscape phone — reduce hero height to avoid filling half the screen */
@media (orientation: landscape) and (max-height: 500px) {
  .dr-page-title--hero {
    padding: 0.5rem 1rem;
    background-position: left 30%;
  }
  .dr-page-title--hero h1 {
    font-size: 0.85rem;
  }
  .dr-page-title--hero .dr-page-tagline {
    display: none;
  }
}

.dr-page-subtitle {
  background: var(--dr-red);
  color: var(--dr-white);
  text-align: center;
  padding: 0.65rem 1.5rem;
  margin: 0;
  position: sticky;
  top: calc(var(--dr-header-h, 0px) + var(--dr-title-h, 0px));
  z-index: 389;
}

.dr-page-subtitle h2 {
  margin: 0;
  font-family: var(--dr-font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-page-subtitle {
    padding: 0.45rem 1rem;
  }
  .dr-page-subtitle h2 {
    font-size: 0.85rem;
  }
}

/* ---- Main content ---- */
.dr-main {
  flex: 1;
  min-height: 100vh;
  padding: 2rem 1rem;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-main {
    padding: 1.25rem 0.75rem;
  }
}

.dr-container {
  max-width: 720px;
  margin: 0 auto;
}

.dr-container--wide {
  max-width: 960px;
  margin: 0 auto;
}

/* ---- Card ---- */
.dr-card {
  background: var(--dr-white);
  border-radius: var(--dr-radius);
  box-shadow: var(--dr-shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
}

.dr-card-title {
  font-family: var(--dr-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dr-red);
  border-bottom: 2px solid var(--dr-red);
  padding-bottom: 0.4rem;
  margin: 0 0 1.25rem;
}

/* ---- Form elements ---- */
.dr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  .dr-header-brand .dr-event-name {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 520px) {
  .dr-form-row { grid-template-columns: 1fr; }
}

.dr-field {
  margin-bottom: 1.25rem;
}

.dr-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dr-stone-mid);
  margin-bottom: 0.35rem;
}

.dr-field label .optional {
  font-weight: 400;
  color: var(--dr-rock);
  font-size: 0.8rem;
}

.dr-field input,
.dr-field select,
.dr-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--dr-border);
  border-radius: var(--dr-radius-input);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dr-text);
  background: var(--dr-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: auto;
}

.dr-field input:focus,
.dr-field select:focus,
.dr-field textarea:focus {
  outline: none;
  border-color: var(--dr-focus);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 3px rgba(224,138,32,0.25);
}

.dr-field input[readonly] {
  background: #f9f9f9;
  color: var(--dr-text-muted);
}

/* Radio/checkbox groups */
.dr-radio-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dr-radio-group label,
.dr-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--dr-text);
}
.dr-check-label a {
  color: var(--dr-red);
}
.dr-check-label input[type=checkbox] {
  margin-top: 0.2rem;
}

.dr-radio-group input[type=radio],
.dr-check-label input[type=checkbox] {
  width: auto;
  accent-color: var(--dr-red);
}

/* Member selection cards */
.dr-membership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 420px) {
  .dr-membership { grid-template-columns: 1fr; }
}

.dr-membership-option {
  position: relative;
}

.dr-membership-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dr-membership-card {
  display: block;
  border: 2px solid var(--dr-border);
  border-radius: var(--dr-radius-input);
  padding: 1.25rem 1rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.dr-membership-card:hover {
  border-color: var(--dr-rock);
}

.dr-membership-option input:checked + .dr-membership-card {
  border-color: var(--dr-red);
  background: #fdf5f5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 3px rgba(155,18,25,0.15);
}

.dr-membership-card .price {
  font-family: var(--dr-font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dr-red);
  line-height: 1;
  margin: 0.25rem 0;
}

.dr-membership-card .name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dr-stone-mid);
}

.dr-membership-card .note {
  font-size: 0.75rem;
  color: var(--dr-text-muted);
  margin-top: 0.25rem;
}

/* ---- Buttons ---- */
.dr-btn {
  display: inline-block;
  background: var(--dr-red);
  color: var(--dr-white);
  border: none;
  border-radius: var(--dr-radius-input);
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.dr-btn:hover { background: var(--dr-red-dark); }
.dr-btn:active { transform: scale(0.98); }

.dr-btn--full { width: 100%; text-align: center; }

.dr-btn--ghost {
  background: transparent;
  color: var(--dr-red);
  border: 2px solid var(--dr-red);
}
.dr-btn--ghost:hover { background: var(--dr-red); color: var(--dr-white); }

.dr-btn--stone {
  background: var(--dr-stone-mid);
}
.dr-btn--stone:hover { background: var(--dr-stone); }

/* ---- Alerts ---- */
.dr-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--dr-radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.dr-alert--error {
  background: #fff0f0;
  border-left: 4px solid var(--dr-red);
  color: #7a1010;
}

.dr-alert--error ul { margin: 0.25rem 0 0; padding-left: 1.2rem; }

.dr-alert--success {
  background: #f0fff4;
  border-left: 4px solid var(--dr-success);
  color: #145a2a;
}

.dr-alert--warning {
  background: #fffbea;
  border-left: 4px solid #e6a817;
  color: #7a5200;
}

/* ---- Badges ---- */
.dr-badge {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dr-badge--paid     { background: #d1fae5; color: #065f46; }
.dr-badge--pending  { background: #fef3c7; color: #92400e; }
.dr-badge--free     { background: #dbeafe; color: #1e40af; }
.dr-badge--refunded { background: #fee2e2; color: #991b1b; }
.dr-badge--sandbox  { background: #fef3c7; color: #92400e; }
.dr-badge--skip     { background: #f3f4f6; color: #6b7280; }

/* ---- Table ---- */
.dr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dr-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dr-text-muted);
  border-bottom: 2px solid var(--dr-border);
}

.dr-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.dr-table tr:hover td { background: #fafafa; }

.dr-table a { color: var(--dr-red); text-decoration: none; font-weight: 600; }
.dr-table a:hover { text-decoration: underline; }

/* ---- Code display ---- */
.dr-code {
  font-family: 'Courier New', monospace;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-align: center;
  padding: 1.25rem;
  background: var(--dr-stone);
  color: var(--dr-white);
  border-radius: var(--dr-radius);
  margin: 1rem 0;
}

/* ---- Sponsor banner ---- */
.dr-sponsors {
  background: #f5f5f3;
  border-top: 3px solid var(--dr-rock-light);
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}

.dr-sponsors img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
}

.dr-sponsors-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dr-red);
  margin: 0 0 .75rem;
}
.dr-sponsors-label--primary {
  font-size: .9rem;
}

.dr-sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.75rem;
}
.dr-sponsors-grid:last-child {
  margin-bottom: 0;
}

.dr-sponsors-grid--presented  { gap: 2.5rem; }
.dr-sponsors-grid--collab     { gap: 2rem; }
.dr-sponsors-grid--sponsored  { gap: 2rem 2.5rem; }
.dr-sponsors-grid--supporters { gap: 1.5rem; }

.dr-sponsors-grid--presented  img { height: 96px; object-fit: contain; }
.dr-sponsors-grid--collab     img { height: 56px; object-fit: contain; }
.dr-sponsors-grid--sponsored  img { height: 44px; object-fit: contain; }
.dr-sponsors-grid--supporters img { height: 34px; object-fit: contain; }

/* Footer variant: smaller logos */
.dr-sponsors--footer .dr-sponsors-grid--presented  img { height: 48px; }
.dr-sponsors--footer .dr-sponsors-grid--collab     img { height: 40px; }
.dr-sponsors--footer .dr-sponsors-grid--sponsored  img { height: 36px; }
.dr-sponsors--footer .dr-sponsors-grid--supporters img { height: 28px; }

/* ---- Footer ---- */
.dr-footer {
  background: var(--dr-stone);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 0.75rem;
  font-size: 0.75rem;
}
.dr-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.dr-footer a:hover {
  color: rgba(255,255,255,0.8);
}

/* ---- Legal pages ---- */
.dr-legal h2 {
  margin-bottom: 1rem;
}
.dr-legal h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dr-red);
  margin: 1.5rem 0 0.5rem;
}
.dr-legal p, .dr-legal ul {
  font-size: 0.9rem;
  line-height: 1.6;
}
.dr-legal ul {
  padding-left: 1.5rem;
}
.dr-legal a {
  color: var(--dr-red);
}
.dr-mtdev-link {
  display: inline-block;
  margin-bottom: 0.4rem;
}
.dr-mtdev-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* ---- Payment mode badge ---- */
.dr-payment-mode-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .35rem .75rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

/* ---- Payment section ---- */
.dr-payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 440px) {
  .dr-payment-options { grid-template-columns: 1fr; }
}

.dr-payment-btn-wrap {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Stat grid (admin) ---- */
.dr-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dr-stat {
  background: var(--dr-white);
  border-radius: var(--dr-radius);
  box-shadow: var(--dr-shadow);
  padding: 1.25rem 1rem;
  text-align: center;
}

.dr-stat .value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dr-red);
  line-height: 1;
}

.dr-stat .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dr-text-muted);
  margin-top: 0.25rem;
}

/* ---- Filter bar ---- */
.dr-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.dr-filter-bar a {
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border-radius: var(--dr-radius);
  border: 1.5px solid var(--dr-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dr-text-muted);
  transition: all 0.15s;
}

.dr-filter-bar a:hover { border-color: var(--dr-rock); color: var(--dr-text); }
.dr-filter-bar a.active { background: var(--dr-red); color: var(--dr-white); border-color: var(--dr-red); }

/* ---- Admin nav ---- */
.dr-admin-bar {
  background: var(--dr-stone-mid);
  padding: 0.5rem 1.5rem;
}

.dr-admin-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 400;
}

.dr-admin-bar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.dr-admin-bar a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.15s;
}

.dr-admin-bar a:hover, .dr-admin-bar a.active { color: var(--dr-white); }

/* Typeahead dropdown */
.dr-typeahead-dropdown {
  display: none;
  position: absolute;
  z-index: 50;
  background: var(--dr-white);
  border: 1px solid var(--dr-rock);
  border-radius: 6px;
  max-height: 220px;
  overflow-y: auto;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  margin-top: 2px;
}

.dr-typeahead-item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.dr-typeahead-item:hover {
  background: var(--dr-bg);
}

.dr-field { position: relative; }

/* Small danger button */
.dr-btn--danger {
  background: var(--dr-red);
  color: var(--dr-white);
  border: none;
}
.dr-btn--danger:hover {
  background: var(--dr-red-dark);
}
.dr-btn--sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}
.dr-btn--outline {
  background: transparent;
  border: 2px solid var(--dr-red);
  color: var(--dr-red);
}
.dr-btn--outline:hover {
  background: var(--dr-red);
  color: var(--dr-white);
}

/* Muted text helper */
.dr-text-muted { color: var(--dr-rock); font-size: 0.85rem; }

/* Table responsive wrapper */
.dr-table-wrap { overflow-x: auto; }