/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Self-contained form variables
   --------------------------------------------------------------------------
   These names are scoped to the form component so admin.scss cannot override
   the form palette accidentally.
   -------------------------------------------------------------------------- */
:root {
  --form-border: #cececd;
  --form-label: #7c716a;
  --form-muted-text: #64748b;
  --form-page-background: #f7f7f7;
  --form-sidebar-hover: #eef2f7;
  --form-surface: #fffdfa;
  --form-surface-border: #e9e9e9;
  --form-surface-text: #1f2937;
}

html[data-theme=dark] {
  --form-border: #303030;
  --form-label: #7c716a;
  --form-muted-text: #808080;
  --form-page-background: #2c2c2c;
  --form-sidebar-hover: #323232;
  --form-surface: #1e1e1e;
  --form-surface-border: #0000000d;
  --form-surface-text: #fdfdfd;
}

@media (prefers-color-scheme: dark) {
  html[data-theme=system] {
    --form-border: #303030;
    --form-label: #7c716a;
    --form-muted-text: #808080;
    --form-page-background: #2c2c2c;
    --form-sidebar-hover: #323232;
    --form-surface: #1e1e1e;
    --form-surface-border: #0000000d;
    --form-surface-text: #fdfdfd;
  }
}
/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Labels and field layout
   -------------------------------------------------------------------------- */
label {
  color: var(--form-label);
}

.form-field {
  display: flex;
  margin-bottom: 10px;
  flex-direction: column;
}
.form-field:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Text controls
   -------------------------------------------------------------------------- */
input:not(input[type=file]),
select,
textarea {
  border: 1px solid var(--form-border);
  border-radius: 4px;
  outline: none;
  height: 30px;
  max-width: 100%;
  padding: 0 10px;
  background: transparent;
}
input:not(input[type=file])[disabled], input:not(input[type=file])[readonly],
select[disabled],
select[readonly],
textarea[disabled],
textarea[readonly] {
  opacity: 0.5;
  background: #eee;
}
input:not(input[type=file]):focus, input:not(input[type=file]):active, input:not(input[type=file]):hover,
select:focus,
select:active,
select:hover,
textarea:focus,
textarea:active,
textarea:hover {
  border: 1px solid #94918f;
}

.form-field > label {
  line-height: 1;
  margin-bottom: 5px;
}

/* File upload control */
input[type=file] {
  background-color: #faf9f9;
  padding: 10px;
  border: 1px dashed var(--form-border);
  max-width: 100%;
  border-radius: 5px;
  cursor: pointer;
}
input[type=file]:hover {
  border: 1px dashed #9c9c9c;
}
input[type=file]::file-selector-button {
  margin-right: 6px;
}
input[type=file]::file-selector-button:hover {
  background-color: #e9e9e9;
  border: 1px solid #6b6060;
}

/* Inline radio and checkbox options */
.form-option {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Multiline controls */
textarea {
  padding: 10px;
  max-width: 100%;
  min-height: 70px;
  resize: vertical;
  field-sizing: content;
}

/* Fieldset containers */
fieldset {
  padding: 10px 20px 20px 20px;
  margin: 20px 0;
  border-radius: 7px;
  border: 1px solid var(--form-border);
}
fieldset legend {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.09em;
  font-weight: 500;
  padding: 0 10px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button,
button,
input[type=file]::file-selector-button {
  border: 0;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--form-border);
  padding: 5px 10px;
  background: transparent;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.2px;
  font-weight: 550;
  letter-spacing: 0.015em;
  border-radius: 6px;
  white-space: nowrap;
  cursor: pointer;
}

button[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

.button svg {
  width: 13px;
  flex-shrink: 0;
  height: 13px;
}

/* Button variants */
.button--primary {
  background: #155ea2;
  color: white;
  border: 1px solid #155ea2;
}

.button--primary:hover {
  background: #0f4a82;
  border-color: #0f4a82;
}

.button--danger {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}

.button--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.button--icon {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  background: var(--form-surface);
  color: var(--form-surface-text);
}
.button--icon svg {
  width: 13px;
  height: 13px;
}

.button--icon:hover {
  background: var(--form-sidebar-hover);
  border-color: #94a3b8;
}

.button--icon:focus-visible {
  outline: 2px solid #155ea2;
  outline-offset: 2px;
}

.button--whatsapp {
  background: #16a34a;
  color: white;
  border: 1px solid #16a34a;
}

.button--whatsapp:hover {
  background: #15803d;
  border-color: #15803d;
}

.button--secondary {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.button--secondary:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.button--reset {
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
  margin-left: auto;
}

.button--reset:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

:root[data-theme=dark] .button--secondary {
  background: #2c2c2c;
  color: white;
  border-color: #3f3f3f;
}
:root[data-theme=dark] .button--secondary:hover {
  background: #252525;
  border-color: #363636;
}

/* Repeated-item controls */
.btn-remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 32px;
  padding: 0;
  margin-bottom: 0;
  border-radius: 4px;
  color: #8c827a;
  border: 1px solid rgb(202, 198, 195);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-remove-item:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

/* Toggle switch */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch input:checked + .switch__slider {
  border-color: #155ea2;
  background: #155ea2;
}
.switch input:checked + .switch__slider::before {
  transform: translateX(13px);
}
.switch input:checked + .switch__slider:hover {
  border-color: #12538f;
  background: #12538f;
}
.switch input:focus-visible + .switch__slider {
  outline: 2px solid #666;
  outline-offset: 2px;
}
.switch .switch__slider {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 17px;
  border: 1px solid #ccc;
  background: #ccc;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.switch .switch__slider::before {
  content: "";
  position: absolute;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  width: 11px;
  height: 11px;
  left: 2px;
  top: 2px;
}
.switch .switch__slider:hover {
  border-color: #c2c2c2;
  background: #c2c2c2;
}
.switch .switch__text {
  font-size: 12px;
  color: var(--form-label);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* --------------------------------------------------------------------------
   Template selector
   -------------------------------------------------------------------------- */
.template-selector-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.template-selector-group .template-radio-card {
  display: block;
  cursor: pointer;
}
.template-selector-group .template-radio-card input {
  display: none;
}
.template-selector-group .template-radio-card .template-card-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: white;
}
.template-selector-group .template-radio-card .template-card-content strong {
  display: block;
  font-size: 12px;
  color: #1e293b;
}
.template-selector-group .template-radio-card .template-card-content small {
  display: block;
  font-size: 10px;
  color: #64748b;
}
.template-selector-group .template-radio-card input:checked + .template-card-content {
  border-color: #155ea2;
  background: #f0f7ff;
  box-shadow: 0 0 0 1px #155ea2;
}
.template-selector-group .template-radio-card:hover .template-card-content {
  border-color: #94918f;
}

/* --------------------------------------------------------------------------
   Form containers and reusable custom table
   -------------------------------------------------------------------------- */
.form-box {
  border: 1px solid var(--form-border);
  border-radius: 7px;
  margin: 20px 0;
  margin-top: 20px;
  padding: 10px 20px 20px;
}

.custom-table-section {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--form-border);
  border-radius: 7px;
  background: var(--form-surface);
  color: var(--form-surface-text);
}

.custom-table-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.custom-table-section__eyebrow {
  margin: 0 0 4px;
  color: var(--form-muted-text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-table-section h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.custom-table-section__hint {
  color: var(--form-muted-text);
  font-size: 11px;
  white-space: nowrap;
}

.custom-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border, var(--form-border));
  border-radius: 7px;
  background: var(--surface, var(--form-surface));
}

.custom-table-section .custom-table-wrapper {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.custom-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--surface-text, var(--form-surface-text));
  font-size: 12px;
}

.custom-table caption {
  padding: 10px 12px 8px;
  color: var(--muted-text, var(--form-muted-text));
  font-size: 11px;
  text-align: left;
}

.custom-table th,
.custom-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border, var(--form-surface-border));
  text-align: left;
  vertical-align: middle;
}

.custom-table thead th {
  background: var(--sidebar-hover, var(--form-page-background));
  color: var(--muted-text, var(--form-muted-text));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.custom-table tbody th {
  font-weight: 600;
}

.custom-table tbody tr:last-child td {
  border-bottom: 0;
}

.custom-table tbody tr:hover {
  background: var(--sidebar-hover, var(--form-sidebar-hover));
}

.custom-table__actions {
  text-align: right !important;
  white-space: nowrap;
}

.custom-table__actions .button {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 11px;
}

.custom-table__status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.custom-table__status--active {
  background: #dcfce7;
  color: #166534;
}

.custom-table__status--pending {
  background: #fef3c7;
  color: #92400e;
}

.custom-table__status--archived {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 640px) {
  .custom-table-section {
    padding: 12px;
  }
  .custom-table-section__header {
    flex-direction: column;
    gap: 6px;
  }
}
/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.alert p {
  margin: 0;
}
.alert .alert__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert .alert__content {
  flex: 1;
  min-width: 0;
}
.alert .alert__title {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}
.alert .alert__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
}
.alert .alert__close:hover {
  opacity: 1;
}
.alert .alert__close svg {
  width: 13px;
  height: 13px;
}

.alert--success {
  background: #f0fdf4;
  border-color: #96d4ac;
  color: #166534;
}

.alert--danger,
.alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert--alert,
.alert--warning {
  background: #fffbeb;
  border-color: #f4c479;
  color: #92400e;
}

.alert--info {
  background: #f0f7ff;
  border-color: #a3c1e7;
  color: #155ea2;
}

.alert:not(.alert--success,
.alert--error,
.alert--alert,
.alert--warning,
.alert--info,
.alert--danger) {
  background: #f0f7ff;
  border-color: #a3c1e7;
  color: #155ea2;
}

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badges-example {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--form-border);
  border-radius: 7px;
  background: var(--form-surface);
  color: var(--form-surface-text);
}

.badges-example__header {
  margin-bottom: 12px;
}

.badges-example__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.badges-example__hint {
  margin: 4px 0 0;
  color: var(--form-muted-text);
  font-size: 11px;
}

.badges-example__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge,
.badge--info {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #a3c1e7;
  border-radius: 6px;
  background: #f0f7ff;
  color: #155ea2;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.badge--success {
  border-color: #96d4ac;
  background: #f0fdf4;
  color: #166534;
}

.badge--warning {
  border-color: #f4c479;
  background: #fffbeb;
  color: #92400e;
}

.badge--neutral {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

/* Dark-theme alert, badge and upload overrides */
:root[data-theme=dark] .alert,
:root[data-theme=dark] .alert--info {
  background: rgba(58, 113, 177, 0.368627451);
  border-color: #3f70ad;
  color: #a5d3ff;
}
:root[data-theme=dark] .badge,
:root[data-theme=dark] .badge--info {
  border-color: #3f70ad;
  background: rgba(58, 113, 177, 0.368627451);
  color: #a5d3ff;
}
:root[data-theme=dark] .badge--success {
  border-color: rgba(29, 255, 108, 0.3098039216);
  background: rgba(99, 192, 128, 0.3411764706);
  color: #c0ffd8;
}
:root[data-theme=dark] .badge--warning {
  border-color: #bca444;
  background: rgba(231, 204, 92, 0.3882352941);
  color: #ffefd2;
}
:root[data-theme=dark] .badge--neutral {
  border-color: #64748b;
  background: #334155;
  color: #e2e8f0;
}
:root[data-theme=dark] .alert--success {
  background: rgba(99, 192, 128, 0.3411764706);
  border-color: rgba(29, 255, 108, 0.3098039216);
  color: #c0ffd8;
}
:root[data-theme=dark] .alert--danger,
:root[data-theme=dark] .alert--error {
  background: rgba(201, 106, 106, 0.3294117647);
  border-color: #976b6b;
  color: #ffbebe;
}
:root[data-theme=dark] .alert--alert,
:root[data-theme=dark] .alert--warning {
  background: rgba(231, 204, 92, 0.3882352941);
  border-color: #bca444;
  color: #ffefd2;
}
:root[data-theme=dark] input[type=file] {
  background-color: #262626;
}

/* --------------------------------------------------------------------------
   Toast notifications
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  width: min(300px, 100vw - 32px);
  max-width: 300px;
  padding: 10px 16px;
  border-radius: 5px;
  line-height: 1.3;
  will-change: transform;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
  animation: toast-enter 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  left: 0;
  right: 0;
  margin: auto;
  top: 6px;
  font-size: 12px;
  gap: 10px;
  align-items: flex-start;
}
.toast:before {
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-size: cover;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-size: 15px;
  margin-top: 2px;
  background-position: center;
}
.toast .alert__content {
  display: flex;
  flex-direction: column;
}
.toast .alert__close {
  display: none;
}

.toast--dismissed {
  pointer-events: none;
  animation: toast-exit 0.4s forwards cubic-bezier(0.06, 0.71, 0.55, 1);
}

/* Toast animations */
@keyframes toast-enter {
  0% {
    transform: translate3d(0, -100%, 0) scale(0.6);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}
@keyframes toast-exit {
  0% {
    transform: translate3d(0, 0, -1px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, -120%, -1px) scale(0.8);
    opacity: 0;
  }
}
/* Toast variants */
.toast.alert--success {
  background: #fff;
  border-color: #96d4ac;
  color: #166534;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px #96d4ac;
}
.toast.alert--success:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='alert__icon' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' aria-hidden='true'%3E%3Cpath d='M20 6 9 17l-5-5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
  background-color: #41895c;
}

.toast.alert--danger,
.toast.alert--error {
  background: #fff;
  border-color: #fecaca;
  color: #991b1b;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px #fecaca;
}
.toast.alert--danger:before,
.toast.alert--error:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='alert__icon' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='9'%3E%3C/circle%3E%3Cpath d='M12 8v5M12 16h.01' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
  background-color: #d92525;
}

.toast.alert--alert,
.toast.alert--warning {
  background: #fff;
  border-color: #f4c479;
  color: #92400e;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px #f4c479;
}
.toast.alert--alert:before,
.toast.alert--warning:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='alert__icon' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' aria-hidden='true'%3E%3Cpath d='M12 3 2.5 20h19L12 3Z' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M12 9v5M12 17h.01' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
  background-color: #e39422;
}

.toast.alert--info {
  background: #fff;
  border-color: #a3c1e7;
  color: #155ea2;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px #a3c1e7;
}
.toast.alert--info:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='alert__icon' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='9'%3E%3C/circle%3E%3Cpath d='M12 10v6M12 7h.01' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
  background-color: #155ea2;
}

/* Reduced-motion fallback */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans[wdth,wght].woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
:root {
  font-feature-settings: "ss01", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08", "ss09", "ss10", "ss11", "ss12";
}

/* required styles */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-container {
  overflow: hidden;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::-moz-selection {
  background: transparent;
}
.leaflet-tile::selection {
  background: transparent;
}

/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
  image-rendering: -webkit-optimize-contrast;
}

/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
  width: 1600px;
  height: 1600px;
  -webkit-transform-origin: 0 0;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
  width: auto;
  padding: 0;
}

.leaflet-container img.leaflet-tile {
  /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
  mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
  touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
  /* Fallback for FF which doesn't support pinch-zoom */
  touch-action: none;
  touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
  touch-action: none;
}

.leaflet-container {
  -webkit-tap-highlight-color: transparent;
}

.leaflet-container a {
  -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}

.leaflet-tile {
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-zoom-box {
  width: 0;
  height: 0;
  box-sizing: border-box;
  z-index: 800;
}

/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
  -moz-user-select: none;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-map-pane canvas {
  z-index: 100;
}

.leaflet-map-pane svg {
  z-index: 200;
}

.leaflet-vml-shape {
  width: 1px;
  height: 1px;
}

.lvml {
  behavior: url(#default#VML);
  display: inline-block;
  position: absolute;
}

/* control positioning */
.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  float: left;
  clear: both;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

/* zoom and fade animations */
.leaflet-fade-anim .leaflet-popup {
  opacity: 0;
  transition: opacity 0.2s linear;
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  opacity: 1;
}

.leaflet-zoom-animated {
  transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
  will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
  transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
  transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
  visibility: hidden;
}

/* cursors */
.leaflet-interactive {
  cursor: pointer;
}

.leaflet-grab {
  cursor: grab;
}

.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
  cursor: crosshair;
}

.leaflet-popup-pane,
.leaflet-control {
  cursor: auto;
}

.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
  cursor: move;
  cursor: grabbing;
}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
  pointer-events: none;
}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
  pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
  pointer-events: auto;
}

/* visual tweaks */
.leaflet-container {
  background: #ddd;
  outline-offset: 1px;
}

.leaflet-container a {
  color: #0078a8;
}

.leaflet-zoom-box {
  border: 2px dotted #38f;
  background: rgba(255, 255, 255, 0.5);
}

/* general typography */
.leaflet-container {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
}

/* general toolbar styles */
.leaflet-bar {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border-radius: 4px;
}

.leaflet-bar a {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  width: 26px;
  height: 26px;
  line-height: 26px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: block;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
  background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: none;
}

.leaflet-bar a.leaflet-disabled {
  cursor: default;
  background-color: #f4f4f4;
  color: #bbb;
}

.leaflet-touch .leaflet-bar a {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* zoom control */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font: bold 18px "Lucida Console", Monaco, monospace;
  text-indent: 1px;
}

.leaflet-touch .leaflet-control-zoom-in,
.leaflet-touch .leaflet-control-zoom-out {
  font-size: 22px;
}

/* layers control */
.leaflet-control-layers {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  background: #fff;
  border-radius: 5px;
}

.leaflet-control-layers-toggle {
  background-image: url(../img/layers.svg);
  width: 36px;
  height: 36px;
}

.leaflet-retina .leaflet-control-layers-toggle {
  background-image: url(../img/layers-2x.svg);
  background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
  width: 44px;
  height: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
  display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
  display: block;
  position: relative;
}

.leaflet-control-layers-expanded {
  padding: 6px 10px 6px 6px;
  color: #333;
  background: #fff;
}

.leaflet-control-layers-scrollbar {
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 5px;
}

.leaflet-control-layers-selector {
  margin-top: 2px;
  position: relative;
  top: 1px;
}

.leaflet-control-layers label {
  display: block;
  font-size: 13px;
  font-size: 1.08333em;
}

.leaflet-control-layers-separator {
  height: 0;
  border-top: 1px solid #ddd;
  margin: 5px -10px 5px -6px;
}

/* Default icon URLs */
.leaflet-default-icon-path {
  /* used only in path-guessing heuristic, see L.Icon.Default */
  background-image: url(../img/marker-icon.svg);
}

/* attribution and scale controls */
.leaflet-container .leaflet-control-attribution {
  background: #fff;
  background: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
  padding: 0 5px;
  color: #333;
  line-height: 1.4;
}

.leaflet-control-attribution a {
  text-decoration: none;
}

.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
  text-decoration: underline;
}

.leaflet-attribution-flag {
  display: inline !important;
  vertical-align: baseline !important;
  width: 1em;
  height: 0.6669em;
}

.leaflet-left .leaflet-control-scale {
  margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
  margin-bottom: 5px;
}

.leaflet-control-scale-line {
  border: 2px solid #777;
  border-top: none;
  line-height: 1.1;
  padding: 2px 5px 1px;
  white-space: nowrap;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px #fff;
}

.leaflet-control-scale-line:not(:first-child) {
  border-top: 2px solid #777;
  border-bottom: none;
  margin-top: -2px;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
  border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  box-shadow: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: 2px solid rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
}

/* popup */
.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  padding: 1px;
  text-align: left;
  border-radius: 12px;
}

.leaflet-popup-content {
  margin: 13px 24px 13px 20px;
  line-height: 1.3;
  font-size: 13px;
  font-size: 1.08333em;
  min-height: 1px;
}

.leaflet-popup-content p {
  margin: 17px 0;
  margin: 1.3em 0;
}

.leaflet-popup-tip-container {
  width: 40px;
  height: 20px;
  position: absolute;
  left: 50%;
  margin-top: -1px;
  margin-left: -20px;
  overflow: hidden;
  pointer-events: none;
}

.leaflet-popup-tip {
  width: 17px;
  height: 17px;
  padding: 1px;
  margin: -10px auto 0;
  pointer-events: auto;
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: white;
  color: #333;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  text-align: center;
  width: 24px;
  height: 24px;
  font: 16px/24px Tahoma, Verdana, sans-serif;
  color: #757575;
  text-decoration: none;
  background: transparent;
}

.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
  color: #585858;
}

.leaflet-popup-scrolled {
  overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
  -ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
  width: 24px;
  margin: 0 auto;
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
  border: 1px solid #999;
}

/* div icon */
.leaflet-div-icon {
  background: #fff;
  border: 1px solid #666;
}

/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
  position: absolute;
  padding: 6px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #222;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  position: absolute;
  pointer-events: none;
  border: 6px solid transparent;
  background: transparent;
  content: "";
}

/* Directions */
.leaflet-tooltip-bottom {
  margin-top: 6px;
}

.leaflet-tooltip-top {
  margin-top: -6px;
}

.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
  left: 50%;
  margin-left: -6px;
}

.leaflet-tooltip-top:before {
  bottom: 0;
  margin-bottom: -12px;
  border-top-color: #fff;
}

.leaflet-tooltip-bottom:before {
  top: 0;
  margin-top: -12px;
  margin-left: -6px;
  border-bottom-color: #fff;
}

.leaflet-tooltip-left {
  margin-left: -6px;
}

.leaflet-tooltip-right {
  margin-left: 6px;
}

.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  top: 50%;
  margin-top: -6px;
}

.leaflet-tooltip-left:before {
  right: 0;
  margin-right: -12px;
  border-left-color: #fff;
}

.leaflet-tooltip-right:before {
  left: 0;
  margin-left: -12px;
  border-right-color: #fff;
}

/* Printing */
@media print {
  /* Prevent printers from removing background-images of controls. */
  .leaflet-control {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
:root {
  --font: "Instrument Sans", sans-serif;
  --border: #e2e2e2;
  --page-background: #f7f7f7;
  --page-text: #1f2937;
  --surface: #fffdfa;
  --surface-text: #1f2937;
  --surface-shadow: 0 2px 6px rgb(233, 233, 233, 0.5);
  --muted-text: #6b7482;
  --sidebar-text: #6b7482;
  --sidebar-heading: #6b7482;
  --sidebar-hover: #ecedee8e;
  --sidebar-active: #e3edf9;
  --sidebar-active-text: #2d3947;
  --input-background: #ffffff;
  --input-text: #1f2937;
  --bw: black;
  color-scheme: light;
}

html[data-theme=dark] {
  --border: #303030;
  --page-background: #2c2c2c;
  --page-text: #fdfdfd;
  --surface: #1e1e1e;
  --surface-text: #fdfdfd;
  --surface-shadow: 0 0 0 2px #1c1c1c;
  --muted-text: #808080;
  --sidebar-text: #808080;
  --sidebar-heading: #5a5a5a;
  --sidebar-hover: #323232;
  --sidebar-active: #393939;
  --sidebar-active-text: #ffffff;
  --input-background: #252525;
  --input-text: #fdfdfd;
  --bw: white;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html[data-theme=system] {
    --border: #303030;
    --page-background: #2c2c2c;
    --page-text: #fdfdfd;
    --surface: #1e1e1e;
    --surface-text: #fdfdfd;
    --surface-shadow: 0 0 0 2px #1c1c1c;
    --muted-text: #808080;
    --sidebar-text: #808080;
    --sidebar-heading: #5a5a5a;
    --sidebar-hover: #323232;
    --sidebar-active: #393939;
    --sidebar-active-text: #ffffff;
    --input-background: #252525;
    --input-text: #fdfdfd;
    --bw: white;
    color-scheme: dark;
  }
}
*,
*:before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background-color: var(--page-background);
  color: var(--page-text);
  font-size: 14px;
}

a {
  text-decoration: none;
}

.admin-login {
  min-height: 100svh;
  width: 100%;
  display: grid;
  padding: 20px;
  place-items: center;
}
.admin-login .login-title {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.04em;
  opacity: 0.8;
  margin-top: 10px;
  margin-bottom: 20px;
}
.admin-login .login-box {
  background: var(--surface);
  color: var(--surface-text);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 5px;
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
}
.admin-login .login-logo {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--surface-text);
  text-align: center;
  display: block;
  margin: 0;
  line-height: 1;
  font-weight: 500;
  font-size: 25px;
}
.admin-login .login-register-link {
  text-align: center;
  margin-bottom: 0;
}
.admin-login .login-register-link a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 5px;
  padding: 4px 7px;
  color: #155ea2;
  font-weight: 500;
  font-size: 13px;
  vertical-align: -2px;
}
.admin-login .login-register-link a:hover {
  background: rgb(231, 239, 244);
}
.admin-login .login-register-link svg {
  width: 15px;
  height: 15px;
}

.form-wrapper {
  max-width: 800px;
}

.toast-demo {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--form-border);
  border-radius: 7px;
  background: var(--form-surface);
  color: var(--form-surface-text);
}
.toast-demo__header {
  margin-bottom: 12px;
}
.toast-demo__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.toast-demo__hint {
  margin: 4px 0 0;
  color: var(--form-muted-text);
  font-size: 11px;
}
.toast-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wrapper {
  display: flex;
  min-width: 0;
}

.sidebar-toggle {
  display: none;
}

.main-sidebar {
  min-width: 250px;
  height: 100dvh;
  flex-shrink: 0;
  padding: 10px;
  color: var(--sidebar-text);
  position: sticky;
  top: 0;
}
.main-sidebar .sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.main-sidebar .sidebar-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 8px;
  padding: 5px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bw);
}
.main-sidebar .sidebar-top .icon {
  width: 20px;
  height: 20px;
  border-radius: 500px;
  background: #23543e;
}
.main-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-sidebar li {
  margin: 0;
}
.main-sidebar li.header {
  color: var(--sidebar-heading);
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-left: 10px;
}
.main-sidebar li a {
  color: var(--sidebar-text);
  padding: 10px;
  display: flex;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
}
.main-sidebar li a:hover {
  background: var(--sidebar-hover);
}
.main-sidebar li a svg {
  width: 15px;
  margin-top: -1px;
  height: 15px;
}
.main-sidebar li.active a {
  color: var(--sidebar-active-text);
  background-color: rgba(255, 255, 255, 0.7098039216);
  box-shadow: 0 0 0 1px rgb(226, 226, 226);
}
.main-sidebar .sidebar-theme {
  margin-top: auto;
}
.main-sidebar .sidebar-theme .theme-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-sidebar .sidebar-theme label {
  margin: 0;
}
.main-sidebar .sidebar-theme select {
  height: 24px;
  font-size: 12px;
}
.main-sidebar .sidebar-user .user-link {
  flex-grow: 1;
  gap: 10px;
  color: #64748b;
  border: 1px solid #cdcdcd;
  box-shadow: var(--surface-shadow);
  padding: 7px 10px;
  font-size: 13px;
  gap: 7px;
}
.main-sidebar .sidebar-user span {
  font-size: 12px;
}
.main-sidebar .sidebar-user .user-card {
  gap: 5px;
  display: flex;
}
.main-sidebar .sidebar-user svg {
  width: 22px;
  height: 22px;
}
.main-sidebar .sidebar-user img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
.main-sidebar .sidebar-user .info {
  display: flex;
  flex-direction: column;
}

.theme-switcher {
  padding: 8px 10px 10px;
}
.theme-switcher label {
  display: block;
  margin-bottom: 6px;
  color: var(--sidebar-heading);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.theme-switcher select {
  width: 100%;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--input-text);
  background-color: var(--input-background);
  cursor: pointer;
}

.main-content {
  min-width: 0;
  background: var(--surface);
  color: var(--surface-text);
  border: 1px solid var(--border);
  margin: 10px 10px 10px 0px;
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
  flex-grow: 1;
}
.main-content > .admin-breadcrumb {
  color: var(--muted-text);
  font-size: 12px;
  padding: 20px 0px 4px 30px;
  color: var(--muted-text);
  font-size: 12px;
  padding: 25px 0px 4px 30px;
  color: var(--muted-text);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.main-content > .admin-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-content > .admin-breadcrumb li + li::before {
  margin-right: 8px;
  color: var(--muted-text);
  content: "/";
  opacity: 0.65;
}
.main-content > .admin-breadcrumb a {
  color: var(--muted-text);
}
.main-content > .admin-breadcrumb a:hover,
.main-content > .admin-breadcrumb a:focus-visible {
  color: #155ea2;
  text-decoration: underline;
}
.main-content > .admin-breadcrumb [aria-current=page] {
  color: var(--surface-text);
  font-weight: 500;
}
.main-content > .admin-breadcrumb + .content-header {
  padding-top: 16px;
}
.main-content > .content-header {
  padding: 30px 30px 0 30px;
  display: flex;
  flex-direction: column;
}
.main-content > .content-header h1 {
  margin: 0;
  line-height: 1;
  font-weight: 450;
  font-size: 23px;
}
.main-content > .content-header small {
  color: var(--muted-text);
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400;
}
.main-content > .content {
  padding: 30px;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  border: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  height: 100%;
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
  pointer-events: none;
  transition: 0.3s opacity;
  opacity: 0;
}

@media (max-width: 820px) {
  body.sidebar-open {
    overflow: hidden;
  }
  body.sidebar-open .main-sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .wrapper {
    display: block;
    min-height: 100dvh;
  }
  .sidebar-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--surface-text);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
    cursor: pointer;
  }
  .sidebar-toggle svg {
    width: 21px;
    height: 21px;
  }
  .main-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    width: 280px;
    max-width: calc(100vw - 32px);
    min-width: 0;
    height: 100dvh;
    min-height: 100dvh;
    padding: 16px;
    overflow-y: auto;
    background: var(--surface);
    transform: translateX(-100%);
    pointer-events: none;
    transition: transform 0.35s;
  }
  .main-sidebar .sidebar-top {
    margin-bottom: 20px;
  }
  .main-sidebar .sidebar-user .info {
    min-width: 0;
  }
  .main-sidebar .sidebar-user .info span {
    overflow-wrap: anywhere;
  }
  .sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .main-content {
    width: auto;
    min-height: calc(100dvh - 74px);
    max-height: none;
    overflow: visible;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    margin: 0;
  }
  .main-content > .content-header {
    padding: 24px 18px 0;
  }
  .main-content > .content-header h1 {
    font-size: 22px;
  }
  .main-content > .content-header small {
    line-height: 1.4;
  }
  .main-content > .content {
    padding: 20px 18px 28px;
  }
  .main-content .button, .main-content button, .main-content input[type=file]::file-selector-button {
    min-height: 40px;
    padding: 5px 15px;
  }
  .main-content .button--icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }
  .main-content .dashboard__intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .main-content .dashboard__intro .button, .main-content .dashboard__panel-header .button, .main-content .alquiler-crud__toolbar .button, .main-content .example-crud__toolbar .button, .main-content .user-settings__actions .button {
    width: 100%;
  }
  .main-content .user-settings__back {
    width: 100%;
  }
  .main-content .dashboard__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main-content .dashboard__layout, .main-content .user-settings__grid {
    grid-template-columns: 1fr;
  }
  .main-content .dashboard__panel-header {
    align-items: stretch;
    flex-direction: column;
  }
  .main-content .custom-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-content .custom-table th, .main-content .custom-table td {
    padding: 10px 12px;
  }
  .main-content .alquiler-crud__toolbar, .main-content .example-crud__toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .main-content .alquiler-crud__grid {
    grid-template-columns: 1fr;
  }
  .main-content .alquiler-crud__grid .form-field--full {
    grid-column: auto;
  }
  .main-content .alquiler-crud__features, .main-content .template-selector-group {
    grid-template-columns: 1fr;
  }
  .main-content .alquiler-crud__map {
    height: 280px;
  }
  .main-content .form-field > input:not([type=file]):not([type=checkbox]):not([type=radio]), .main-content .form-field > input[type=file], .main-content .form-field > select, .main-content .form-field > textarea {
    width: 100%;
  }
  .main-content fieldset {
    padding: 14px;
  }
  .main-content .custom-table-section__header {
    align-items: stretch;
    flex-direction: column;
  }
  .main-content .custom-table-section__hint {
    white-space: normal;
  }
  .main-content .user-settings__hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
  .main-content .user-settings__card {
    padding: 18px;
  }
}
@media (max-width: 480px) {
  .main-content > .content-header {
    padding: 20px 14px 0;
  }
  .main-content > .content {
    padding: 18px 14px 24px;
  }
  .main-content .dashboard__stats {
    grid-template-columns: 1fr;
  }
  .main-content .dashboard__stat {
    padding: 16px;
  }
  .main-content .dashboard__panel-header {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-sidebar {
    transition: none;
  }
}/*# sourceMappingURL=admin.css.map */