@charset "UTF-8";
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-KDkVDv3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-9W389ra.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/work-sans-latin-ext-Jkp9F-2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/work-sans-latin-shqi8Sk.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body.page-account {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.page-account > header {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

.account-layout {
  display: flex;
  flex: 1;
}

.account-sidebar {
  width: 240px;
  flex-shrink: 0;
  background-color: #2f4a3c;
  flex-direction: column;
  padding: 1.5rem 1rem;
}

.account-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f6f1e7;
  font-family: "Instrument Serif", serif;
  font-size: 1.125rem;
  padding: 0 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1rem;
}

.account-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  color: #e7e0cf;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.account-sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f6f1e7;
}
.account-sidebar-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
}

.account-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  padding: 0.3rem;
  cursor: pointer;
}

.account-offcanvas {
  background: #2f4a3c !important;
  max-width: 260px;
}
.account-offcanvas .offcanvas-body {
  padding: 0 1rem;
}

.account-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.75rem;
}
.account-offcanvas-header .account-sidebar-brand {
  padding: 0;
  border-bottom: none;
  margin-bottom: 0;
}

.account-offcanvas-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.25rem;
}
.account-offcanvas-close:hover {
  color: #fff;
}

.account-main {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 2rem;
}
@media (max-width: 991px) {
  .account-main {
    padding: 1rem;
  }
}

.kpi-card {
  border: none;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}
.kpi-card:hover {
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
}
.kpi-card .card-body {
  padding: 1rem;
}
.kpi-card .kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f4a3c;
  font-family: "Work Sans", sans-serif;
  line-height: 1.2;
}
.kpi-card .kpi-label {
  font-size: 0.6875rem;
  color: #8a8272;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.account-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.account-navigation a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(47, 74, 60, 0.04);
  border-radius: 8px;
  text-decoration: none;
  color: #2f4a3c;
  transition: all 0.2s ease;
}
.account-navigation a:not(.btn):hover {
  background-color: rgba(47, 74, 60, 0.08);
}
@media (max-width: 575px) {
  .account-navigation a:not(.btn) {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}
.account-navigation form {
  display: inline-flex;
}

.vich-image img {
  max-width: 300px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.account-form-container .card {
  border: none;
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
  border-radius: 14px;
  padding: 1.625rem 1.75rem;
}
@media (max-width: 575px) {
  .account-form-container .card {
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 12px;
    padding: 1rem;
  }
}

.tracks-section {
  background-color: #faf8f2;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
}
@media (max-width: 575px) {
  .tracks-section {
    padding: 1rem;
    margin: 1rem -0.5rem;
  }
}

.track-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid #ddd6c4;
  transition: box-shadow 0.2s;
}
.track-item:hover {
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
}
@media (min-width: 768px) {
  .track-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.track-item .track-info {
  flex: 1;
}
.track-item .track-info h6 {
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-family: "Work Sans", sans-serif;
}
.track-item .track-info small {
  color: #8a8272;
}
.track-item .track-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
@media (max-width: 575px) {
  .track-item .track-actions {
    justify-content: center;
  }
  .track-item .track-actions .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
  }
}

.add-track-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border: 2px dashed #ddd6c4;
  background: transparent;
  color: #8a8272;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.add-track-btn:hover {
  border-color: #2f4a3c;
  color: #2f4a3c;
}

.visibility-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.visibility-badge.visible {
  background-color: #2e7d5b;
}
.visibility-badge.hidden {
  background-color: #dc3545;
}

.drag-handle {
  cursor: grab;
  padding: 0 8px;
  color: #b5ad99;
  display: flex;
  align-items: center;
}
.drag-handle:active {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.4;
  background: #faf8f2;
}

.sortable-chosen {
  border: 2px solid #2f4a3c;
  border-radius: 8px;
}

.track-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: #f0ece0;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .point-selector-container .row {
    flex-direction: column;
  }
}
@media (max-width: 991px) {
  .point-selector-container .map-column {
    margin-bottom: 1rem;
  }
}
.point-selector-container .map-column #pointSelectorContainer [data-map-point-selector-target=map] {
  height: 400px !important;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .point-selector-container .map-column #pointSelectorContainer [data-map-point-selector-target=map] {
    height: 300px !important;
  }
}
@media (max-width: 575px) {
  .point-selector-container .map-column #pointSelectorContainer [data-map-point-selector-target=map] {
    height: 250px !important;
  }
}
.point-selector-container .checkpoints-column .stimulus-collection {
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
  list-style: none;
}
@media (max-width: 991px) {
  .point-selector-container .checkpoints-column .stimulus-collection {
    max-height: 300px;
  }
}
.point-selector-container .checkpoints-column .stimulus-collection li {
  display: block !important;
  margin-bottom: 0.5rem;
  padding: 0;
  border: none;
  background: none;
}
.point-selector-container .checkpoints-column .stimulus-collection li:last-child {
  margin-bottom: 0;
}
.point-selector-container .checkpoints-column .checkpoint-card {
  border: 1px solid #ddd6c4;
  border-radius: 8px;
  background: #faf8f2;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.point-selector-container .checkpoints-column .checkpoint-card.active {
  border-color: #c1622d;
  box-shadow: 0 0 0 2px rgba(193, 98, 45, 0.2);
}
.point-selector-container .checkpoints-column .checkpoint-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #ddd6c4;
  gap: 0.5rem;
}
.point-selector-container .checkpoints-column .checkpoint-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.point-selector-container .checkpoints-column .checkpoint-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #2f4a3c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.point-selector-container .checkpoints-column .checkpoint-badge {
  font-size: 0.7rem;
  font-weight: 500;
  color: #f6f1e7;
  background: #2f4a3c;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  white-space: nowrap;
}
.point-selector-container .checkpoints-column .checkpoint-card-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.point-selector-container .checkpoints-column .checkpoint-card-body {
  padding: 0.5rem 0.75rem;
}
.point-selector-container .checkpoints-column .checkpoint-card-body .form-group {
  display: none;
}
.point-selector-container .checkpoints-column .checkpoint-card-body .btn {
  margin-top: 0.25rem;
}
.point-selector-container .checkpoints-column .checkpoint-locate-btn:hover {
  background: #c1622d;
  border-color: #c1622d;
  color: #f6f1e7;
}

.stimulus-collection {
  list-style: none;
  padding: 0;
}
.stimulus-collection li {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd6c4;
  border-radius: 8px;
  background: #fff;
}
@media (max-width: 575px) {
  .stimulus-collection li {
    padding: 0.75rem;
  }
}
.stimulus-collection li .form-group {
  margin-bottom: 1rem;
}
.stimulus-collection li .form-group:last-child {
  margin-bottom: 0;
}
@media (max-width: 575px) {
  .stimulus-collection li .btn-danger {
    width: 100%;
    margin-top: 0.5rem;
  }
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid #ddd6c4;
}
@media (max-width: 575px) {
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.form-actions .btn-primary {
  order: 1;
}
.form-actions .btn-secondary {
  order: 2;
}

.form-instructions {
  background-color: rgba(47, 74, 60, 0.05);
  border: 1px solid rgba(47, 74, 60, 0.12);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 575px) {
  .form-instructions {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}
.form-instructions p:last-child {
  margin-bottom: 0;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #8a8272;
}
.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-state .empty-message {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 575px) {
  .empty-state {
    padding: 2rem 1rem;
  }
  .empty-state .empty-icon {
    font-size: 2rem;
  }
  .empty-state .empty-message {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .form-control,
  .form-select {
    font-size: 16px;
  }
  textarea.form-control {
    min-height: 100px;
  }
}
.batch-import-zone {
  margin-top: 0.5rem;
}

.batch-import-dropzone {
  border: 2px dashed #ddd6c4;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.batch-import-dropzone:hover {
  border-color: #2f4a3c;
}
.batch-import-dropzone.dragover {
  border-color: #2f4a3c;
  background: rgba(47, 74, 60, 0.04);
}
.batch-import-dropzone.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.batch-import-dropzone .batch-import-dropzone-content {
  color: #8a8272;
}
.batch-import-dropzone .batch-import-dropzone-content p {
  font-weight: 500;
}
@media (max-width: 575px) {
  .batch-import-dropzone {
    padding: 1.5rem 1rem;
  }
}

.batch-import-recap {
  margin-top: 1rem;
}
.batch-import-recap .table {
  font-size: 0.875rem;
}
@media (max-width: 575px) {
  .batch-import-recap .table-responsive {
    font-size: 0.8rem;
  }
}

.batch-import-file-valid {
  color: #2e7d5b;
  font-weight: bold;
}

.batch-import-file-error {
  color: #dc3545;
  font-size: 0.85rem;
}

@media (max-width: 575px) {
  .form-check {
    padding-left: 2rem;
  }
  .form-check .form-check-input {
    margin-left: -2rem;
    transform: scale(1.2);
  }
  .form-check .form-check-label {
    line-height: 1.6;
  }
}
.action-map-container {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 401;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 575px) {
  .action-map-container {
    top: 10px;
    right: 10px;
  }
}

.journey-marker {
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-marker i {
  color: #4caf50;
}

.end-journey-marker i {
  color: #f44336;
}

.end-track-marker i {
  color: #171717;
}

.track-stats {
  padding: 0.5rem 0.75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.track-stats:hover {
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
  transform: translateY(-1px);
}
.track-stats .track-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #faf8f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2f4a3c;
}
.track-stats .track-card-body {
  min-width: 0;
  flex: 1;
}
.track-stats .track-card-title {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #2f4a3c;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-stats .track-card-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #8a8272;
}
.track-stats .track-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.track-stats .track-card-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .track-stats .track-card-actions {
    flex-direction: column;
  }
}
.track-stats .track-card-actions .btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
}

.active-stat {
  background-color: #2f4a3c;
  box-shadow: 0 0 0 2px #2f4a3c, 0 4px 14px rgba(47, 74, 60, 0.12);
  color: #fff;
}
.active-stat:hover {
  transform: none;
}
.active-stat .track-card-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.active-stat .track-card-title,
.active-stat .track-card-meta,
.active-stat .track-card-meta span,
.active-stat strong, .active-stat span {
  color: #fff;
}
.active-stat .btn.btn-primary {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #fff;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #1f3128;
  --bs-btn-hover-border-color: #1f3128;
  --bs-btn-hover-color: #fff;
}

.map-container {
  display: flex;
}

.map-data-container {
  overflow-y: auto;
  height: 80vh;
  padding: 0.25rem;
}
@media (max-width: 991px) {
  .map-data-container {
    height: auto;
    max-height: 330px;
    margin-bottom: 1rem;
    overflow-y: auto;
  }
}

.map-wrapper {
  height: 80vh;
  padding: 0 12px;
  max-width: 100%;
}
@media (max-width: 991px) {
  .map-wrapper {
    height: 50vh;
    min-height: 300px;
    padding: 0 10px;
  }
}
@media (max-width: 575px) {
  .map-wrapper {
    padding: 0 6px;
  }
}

.map {
  height: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
}

/* assets/styles/map.css */
.custom-cluster-icon {
  background: transparent;
  border: none;
}

.cluster-icon {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
}

.start-cluster {
  background: linear-gradient(45deg, #10b981, #059669);
  border: 2px solid #047857;
}

.end-cluster {
  background: linear-gradient(45deg, #ef4444, #dc2626);
  border: 2px solid #b91c1c;
}

.mixed-cluster {
  background: linear-gradient(45deg, #6366f1, #4f46e5);
  border: 2px solid #3730a3;
}

.cluster-icon span {
  font-size: 14px;
  font-weight: bold;
}

/* Animation au hover */
.cluster-icon:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Animation de gonflement au survol */
.trace-hover-grow {
  animation: traceGrow 0.3s ease-out forwards;
}

/* Animation de dégonflement quand on sort du survol */
.trace-hover-shrink {
  animation: traceShrink 0.3s ease-out forwards;
}

@keyframes traceGrow {
  from {
    stroke-width: 3;
    stroke-opacity: 0.8;
    filter: drop-shadow(0 0 0px currentColor);
  }
  to {
    stroke-width: 7;
    stroke-opacity: 1;
    filter: drop-shadow(0 0 6px currentColor);
  }
}
@keyframes traceShrink {
  from {
    stroke-width: 7;
    stroke-opacity: 1;
    filter: drop-shadow(0 0 6px currentColor);
  }
  to {
    stroke-width: 3;
    stroke-opacity: 0.8;
    filter: drop-shadow(0 0 0px currentColor);
  }
}
/* Animation pour le tracé sélectionné (glow subtil et permanent) */
.trace-selected {
  animation: traceSelectedGlow 2s ease-in-out infinite alternate;
}

@keyframes traceSelectedGlow {
  from {
    filter: drop-shadow(0 0 3px currentColor);
  }
  to {
    filter: drop-shadow(0 0 8px currentColor);
  }
}
/* Animation alternative plus subtile pour le tracé sélectionné */
.trace-selected-subtle {
  stroke-dasharray: 10, 5;
  animation: traceDash 1s linear infinite;
}

@keyframes traceDash {
  to {
    stroke-dashoffset: -15;
  }
}
/* Styles pour éviter les conflits d'animation */
.trace-hover-grow.trace-selected,
.trace-hover-shrink.trace-selected {
  animation: none !important;
}

/* Animation plus fluide avec transition CSS */
.trace-smooth-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Forcer le z-index des clusters */
.marker-cluster {
  z-index: 1000 !important;
}

.marker-cluster-small {
  z-index: 1001 !important;
}

.marker-cluster-medium {
  z-index: 1002 !important;
}

.marker-cluster-large {
  z-index: 1003 !important;
}

/* Réduire le z-index des marqueurs individuels */
.leaflet-marker-icon {
  z-index: 100 !important;
}

.custom-icon {
  z-index: 100 !important;
}

/* Forcer le z-index de vos clusters personnalisés */
.custom-cluster-icon {
  z-index: 1000 !important;
  position: relative;
}

.cluster-icon {
  z-index: 1001 !important;
}

/* Corrections spécifiques pour éviter les superpositions */
.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-marker-shadow {
  z-index: 599;
}

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

.selected-point-marker {
  background: transparent;
  border: none;
}

.leaflet-interactive {
  cursor: pointer;
}

.loading-map {
  z-index: 402;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: #f0ece0;
  position: absolute;
  top: 0;
}
.loading-map .content {
  font-weight: bold;
  color: #2f4a3c;
}

.gallery {
  margin: 20px 0;
}

.gallery-track-separator {
  border: none;
  border-top: 8px solid #ddd6c4;
  margin: 36px auto 36px;
  max-width: 1200px;
}

.gallery-track-title {
  font-family: "Instrument Serif", serif;
  color: #2f4a3c;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 8px;
  max-width: 1200px;
}

.gallery-checkpoint-title {
  color: #8a8272;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 12px auto 6px;
  max-width: 1200px;
}

.gallery-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 575px) {
  .gallery-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .gallery-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  min-height: 150px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
  transition: all 0.3s ease;
  background: #f0ece0;
}
@media (max-width: 575px) {
  .gallery-item {
    border-radius: 10px;
    min-height: 120px;
  }
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.carousel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 25, 15, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-modal.active {
  display: flex;
  opacity: 1;
}

.carousel-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
}

.carousel-image {
  max-width: 100%;
  max-height: 90vh;
  min-height: 40vh;
  min-width: 40vw;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(246, 241, 231, 0.08);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(246, 241, 231, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 1001;
  color: #2f4a3c;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: -70px;
}

.carousel-btn.next {
  right: -70px;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(246, 241, 231, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
  color: #2f4a3c;
}

.close-btn:hover {
  background: #fff;
  transform: scale(1.08);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 1001;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(246, 241, 231, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #f6f1e7;
  transform: scale(1.2);
}

.carousel-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(20, 25, 15, 0.7);
  color: #f6f1e7;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 14px;
  z-index: 1001;
}

.gallery-modal-caption {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(20, 25, 15, 0.7);
  color: #f6f1e7;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  z-index: 1001;
}
.gallery-modal-caption--hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .carousel-container {
    max-width: 95vw;
    max-height: 85vh;
  }
  .carousel-btn.prev {
    left: 10px;
  }
  .carousel-btn.next {
    right: 10px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .carousel-counter {
    font-size: 12px;
    padding: 6px 10px;
  }
  .gallery-modal-caption {
    font-size: 12px;
    padding: 6px 10px;
    top: 15px;
    right: 15px;
  }
  .carousel-image {
    min-height: 30vh;
    min-width: 60vw;
  }
  .close-btn {
    width: 35px;
    height: 35px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }
}
@media (max-width: 480px) {
  .carousel-btn.prev,
  .carousel-btn.next {
    display: none;
  }
  .carousel-container {
    touch-action: pan-x;
  }
  .carousel-image {
    max-height: 75vh;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.carousel-image.entering {
  animation: slideIn 0.3s ease-out;
}

.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 25, 15, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
  z-index: 1000;
}

.panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sliding-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 700px;
  height: 100vh;
  background: #f6f1e7;
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -5px 0 25px rgba(47, 74, 60, 0.15);
  display: flex;
  flex-direction: column;
}

.sliding-panel.active {
  right: 0;
}

.panel-header {
  background: #2f4a3c;
  color: #f6f1e7;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(47, 74, 60, 0.1);
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  font-family: "Instrument Serif", serif;
}

.panel-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #f6f1e7;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
}

.panel-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.panel-content {
  flex: 1;
  padding: 30px 20px;
  overflow-y: auto;
  background: #f6f1e7;
}

body.panel-open {
  overflow: hidden;
}

.slideshow-body {
  --sl-bg: #0c0f0d;
  --sl-bg-card: #232328;
  --sl-bg-slide: #1e1e22;
  --sl-text: #e8e6e1;
  --sl-text-muted: #9a9890;
  --sl-accent: #d4a26a;
  --sl-accent-dim: #b8864e;
  --sl-border: #3a3a40;
  --sl-overlay: rgba(0, 0, 0, 0.55);
  --sl-shadow-photo: rgba(0, 0, 0, 0.45);
  --sl-glass: rgba(30, 30, 34, 0.5);
  --sl-glass-border: rgba(255, 255, 255, 0.08);
  --sl-walk: #2196F3;
  --sl-bike: #4CAF50;
  --sl-car: #FF9800;
  --sl-boat: #9C27B0;
  --sl-plane: #00BCD4;
  margin: 0;
  background: var(--sl-bg);
  color: var(--sl-text);
  font-family: "Work Sans", "Segoe UI", system-ui, sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slide--active {
  opacity: 1;
  visibility: visible;
}

.slide__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 90%;
}

.slide__title {
  font-family: "Instrument Serif", serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  color: var(--sl-text);
  margin: 0;
  opacity: 0;
}

.slide__hint {
  font-size: 0.875rem;
  color: var(--sl-text-muted);
  margin-top: 0.75rem;
  opacity: 0;
}

.slideshow-photo {
  position: absolute;
  border: 3px solid rgba(255, 255, 255, 0.82);
  box-shadow: 2px 3px 14px var(--sl-shadow-photo);
  overflow: hidden;
  border-radius: 2px;
  opacity: 0;
}
.slideshow-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.slide--intro,
.slide--outro {
  background: linear-gradient(180deg, rgba(12, 15, 13, 0.4) 0%, rgba(12, 15, 13, 0.8) 100%);
}
.slide--intro .slide__content,
.slide--outro .slide__content {
  z-index: 3;
}

.slide__intro-author {
  font-size: 0.875rem;
  color: var(--sl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.slide__intro-dates {
  font-size: 0.9375rem;
  color: var(--sl-accent);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}

.slide--stats .slide__content {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .slide--stats .slide__content {
    flex-direction: column;
    gap: 1.5rem;
  }
}
.slide--stats .slide__stat {
  text-align: center;
  opacity: 0;
}
.slide--stats .slide__stat-value {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--sl-accent);
  line-height: 1.1;
}
.slide--stats .slide__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--sl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.slide--transport .slide__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  width: 90%;
  max-width: 480px;
}

.transport-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--sl-glass);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--sl-glass-border);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  opacity: 0;
}

.transport-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.transport-card__icon svg {
  width: 16px;
  height: 16px;
}

.transport-card__info {
  flex: 1;
  min-width: 0;
}

.transport-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sl-text);
  margin-bottom: 0.2rem;
}

.transport-card__bar-container {
  height: 5px;
  background: var(--sl-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.2rem;
}

.transport-card__bar {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 600ms ease-out;
}

.transport-card__stats {
  display: flex;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: var(--sl-text-muted);
  font-variant-numeric: tabular-nums;
}

.slide--records-diag > .slideshow-photo {
  z-index: 2;
}
.slide--records-diag .slide__half--top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58%;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  overflow: hidden;
}
.slide--records-diag .slide__half--bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58%;
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}
.slide--records-diag .slide__info--top {
  position: absolute;
  top: 8%;
  right: 8%;
  text-align: center;
  max-width: 48%;
  z-index: 3;
}
.slide--records-diag .slide__info--bottom {
  position: absolute;
  bottom: 8%;
  left: 8%;
  text-align: center;
  max-width: 48%;
  z-index: 3;
}
.slide--records-diag .slide__record-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.4rem;
}
.slide--records-diag .slide__record-icon svg {
  width: 18px;
  height: 18px;
}
.slide--records-diag .slide__record-type {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.slide--records-diag .slide__record-badges {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
}
.slide--records-diag .slide__record-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--sl-accent-dim);
  color: var(--sl-text);
}
.slide--records-diag .slide__record-badge--instagram {
  background: transparent;
  border: 1px solid var(--sl-glass-border);
}
.slide--records-diag .slide__record-name {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--sl-text);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.slide--records-diag .slide__record-stats {
  font-size: 0.875rem;
  color: var(--sl-text-muted);
  font-variant-numeric: tabular-nums;
}
.slide--records-diag .slide__info--top .slide__record-badges {
  justify-content: center;
}

.slide--records-solo .slide__content {
  z-index: 3;
  text-align: center;
}
.slide--records-solo .slide__record-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.slide--records-solo .slide__record-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.slide--records-solo .slide__record-icon svg {
  width: 18px;
  height: 18px;
}
.slide--records-solo .slide__record-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.slide--records-solo .slide__record-badges {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.slide--records-solo .slide__record-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--sl-accent-dim);
  color: var(--sl-text);
}
.slide--records-solo .slide__record-badge--instagram {
  background: transparent;
  border: 1px solid var(--sl-glass-border);
}
.slide--records-solo .slide__record-name {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--sl-text);
  margin-bottom: 0.3rem;
}
.slide--records-solo .slide__record-stats {
  font-size: 0.8125rem;
  color: var(--sl-text-muted);
  font-variant-numeric: tabular-nums;
}

.slideshow-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  color: var(--sl-text-muted);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 100;
  transition: color 200ms ease, border-color 200ms ease;
}
.slideshow-close:hover {
  color: var(--sl-text);
  border-color: var(--sl-accent);
}

.slideshow-nav {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 6px;
  padding: 0.6rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 100;
}

.slideshow-nav__dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.slideshow-nav__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sl-border);
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.slideshow-nav__dot--active {
  background: var(--sl-accent);
  width: 20px;
  border-radius: 4px;
}

.slideshow-nav__btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--sl-border);
  background: transparent;
  color: var(--sl-text-muted);
  font-size: 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease, border-color 200ms ease;
}
.slideshow-nav__btn:hover {
  color: var(--sl-text);
  border-color: var(--sl-accent);
}

.slide--outro .slide__photos {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.slide--outro .slide__outro-dates {
  font-size: 0.9375rem;
  color: var(--sl-accent);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}
.slide--outro .slide__outro-transport {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
  opacity: 0;
}
.slide--outro .slide__outro-transport-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.slide--outro .slide__outro-transport-icon svg {
  width: 18px;
  height: 18px;
}
.slide--outro .slide__outro-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
  opacity: 0;
}
@media (max-width: 767px) {
  .slide--outro .slide__outro-stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}
.slide--outro .slide__outro-stat {
  font-size: 0.875rem;
  color: var(--sl-text-muted);
  font-variant-numeric: tabular-nums;
}
.slide--outro .slide__outro-stat strong {
  color: var(--sl-accent);
}

@media (max-width: 767px) {
  .slideshow-nav {
    padding: 0.5rem 0.8rem;
    gap: 0.6rem;
  }
  .slideshow-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .slide__content {
    max-width: 95%;
    padding: 0 0.5rem;
  }
  .slide__title {
    font-size: clamp(1rem, 5vw, 1.8rem);
  }
  .slide__intro-author {
    font-size: 0.75rem;
  }
  .slide__intro-dates,
  .slide__outro-dates {
    font-size: 0.8125rem;
  }
  .slide--outro .slide__outro-transport-icon {
    width: 26px;
    height: 26px;
  }
  .slide--outro .slide__outro-transport-icon svg {
    width: 14px;
    height: 14px;
  }
  .slide--records-diag .slide__half--top {
    height: 50%;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  }
  .slide--records-diag .slide__half--bottom {
    height: 55%;
    clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 100%);
  }
  .slide--records-diag .slide__info--top {
    top: 42%;
    bottom: auto;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 75%;
  }
  .slide--records-diag .slide__info--top .slide__record-badges {
    justify-content: center;
  }
  .slide--records-diag .slide__info--bottom {
    top: 58%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 75%;
  }
  .slide--records-diag .slide__info--bottom .slide__record-badges {
    justify-content: center;
  }
  .slide--records-diag .slide__record-name {
    font-size: 0.95rem;
  }
  .slide--records-diag .slide__record-type {
    font-size: 0.65rem;
  }
  .slide--records-diag .slide__record-icon {
    width: 26px;
    height: 26px;
  }
  .slide--records-solo .slide__record-name {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
  .transport-card {
    max-width: 100%;
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
  }
  .transport-card__name {
    font-size: 0.75rem;
  }
  .transport-card__stats {
    font-size: 0.625rem;
    gap: 0.3rem;
  }
  .slide--stats .slide__stat-value {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }
}
@keyframes slideshow-photo-enter {
  from {
    opacity: 0;
    transform: translate(var(--enter-x, -120%), var(--enter-y, -120%)) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--photo-rot, 0deg));
  }
}
@keyframes slideshow-text-pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
body {
  background-color: #f6f1e7;
  color: #2f4a3c;
  font-family: "Work Sans", sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: "Instrument Serif", serif;
  color: #2f4a3c;
}

.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
  background: #fff;
}
@media (max-width: 575px) {
  .card {
    margin-bottom: 1rem;
  }
  .card .card-header h2 {
    font-size: 1.3rem;
  }
  .card .card-body {
    padding: 1rem 0.75rem;
  }
}

.card-header {
  background: none;
  border-bottom: 1px solid #ddd6c4;
}

.btn.btn-primary {
  --bs-btn-bg: #2f4a3c;
  --bs-btn-border-color: #2f4a3c;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #1f3128;
  --bs-btn-hover-border-color: #1f3128;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #1b2b23;
  --bs-btn-active-border-color: #1b2b23;
  --bs-btn-active-color: #fff;
}

.btn.btn-accent {
  --bs-btn-bg: #c1622d;
  --bs-btn-border-color: #c1622d;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #a05125;
  --bs-btn-hover-border-color: #a05125;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #984d23;
  --bs-btn-active-border-color: #984d23;
  --bs-btn-active-color: #fff;
}

.btn.btn-outline-primary {
  --bs-btn-color: #2f4a3c;
  --bs-btn-border-color: #2f4a3c;
  --bs-btn-hover-bg: #2f4a3c;
  --bs-btn-hover-border-color: #2f4a3c;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #1f3128;
  --bs-btn-active-border-color: #1f3128;
  --bs-btn-active-color: #fff;
}

.btn.btn-danger {
  --bs-btn-bg: #dc3545;
  --bs-btn-border-color: #dc3545;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #bb2d3b;
  --bs-btn-hover-border-color: #b02a37;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #b02a37;
  --bs-btn-active-border-color: #a52834;
  --bs-btn-active-color: #fff;
}

.btn.btn-secondary {
  --bs-btn-bg: #8a8272;
  --bs-btn-border-color: #8a8272;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #746d60;
  --bs-btn-hover-border-color: #746d60;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #6e685b;
  --bs-btn-active-border-color: #6e685b;
  --bs-btn-active-color: #fff;
}

.btn {
  border-radius: 8px;
}

.form-control, .form-select {
  background-color: #faf8f2;
  border-color: #ddd6c4;
  border-radius: 8px;
}
.form-control:focus, .form-select:focus {
  border-color: #2f4a3c;
  box-shadow: 0 0 0 0.2rem rgba(47, 74, 60, 0.15);
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5a5346;
}

.alert {
  border-radius: 8px;
}
@media (max-width: 575px) {
  .alert {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}

.alert-info {
  background-color: rgba(47, 74, 60, 0.06);
  border-color: rgba(47, 74, 60, 0.12);
  color: #2f4a3c;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1000 !important;
  transform: none !important;
  margin-top: 0.125rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(47, 74, 60, 0.12);
  will-change: transform;
  contain: layout style paint;
}
.dropdown-menu .dropdown-item {
  border-radius: 8px;
  margin: 2px 6px;
  padding: 0.4rem 0.75rem;
}
.dropdown-menu .dropdown-item:hover {
  background-color: rgba(47, 74, 60, 0.06);
}

.dropdown.show {
  overflow: visible;
}

.site-header {
  background-color: #2f4a3c;
}

.site-header-brand {
  color: #f6f1e7;
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
}

.site-header-user-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  color: #f6f1e7;
}

.site-header-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #c1622d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #fff;
}

.site-header-username {
  font-size: 0.875rem;
}

.site-header-locale-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.7)'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  background-size: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #f6f1e7;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: "Work Sans", sans-serif;
  padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.site-header-locale-select:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.15);
}
.site-header-locale-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
.site-header-locale-select option {
  background: #2f4a3c;
  color: #fff;
}

header .dropdown-menu {
  min-width: 160px;
  max-width: 200px;
}

.breadcrumb-nav {
  font-size: 0.875rem;
  font-family: "Work Sans", sans-serif;
  color: #8a8272;
}
.breadcrumb-nav a {
  color: #8a8272;
  text-decoration: none;
}
.breadcrumb-nav a:hover {
  color: #2f4a3c;
}
.breadcrumb-nav .breadcrumb-separator {
  margin: 0 0.375rem;
  color: #b5ad99;
}
.breadcrumb-nav .breadcrumb-current {
  color: #2f4a3c;
}

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
@media (max-width: 575px) {
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.loader {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  border-top: 3px solid #FFF;
  border-right: 3px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader.primary {
  border-top-color: #2f4a3c;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.hero-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .hero-image img {
    height: 260px;
  }
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(20, 25, 15, 0.75) 100%);
  pointer-events: none;
}
.hero-image .hero-content {
  position: absolute;
  left: 48px;
  bottom: 32px;
  z-index: 1;
  color: #fff;
}
.hero-image .hero-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}
.hero-image .hero-content p {
  opacity: 0.85;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .hero-image .hero-content {
    left: 16px;
    bottom: 18px;
  }
  .hero-image .hero-content h2 {
    font-size: 1.75rem;
  }
}

.detail-title {
  font-size: 2rem;
}

.detail-subtitle {
  color: #8a8272;
  font-size: 0.875rem;
}

.container--narrow {
  max-width: 960px;
}

.stats-bar {
  background-color: #2f4a3c;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
  }
}
.stats-bar--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 575px) {
  .stats-bar--3col {
    grid-template-columns: 1fr;
  }
}
.stats-bar .stat-item {
  text-align: center;
  color: #fff;
}
.stats-bar .stat-item .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Work Sans", sans-serif;
}
.stats-bar .stat-item .stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-top: 0.125rem;
}

.transport-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

.journey-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(47, 74, 60, 0.12);
}
.journey-card .journey-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .journey-card .journey-card-img {
    height: 190px;
  }
}
.journey-card .journey-card-transport {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  display: flex;
  gap: 0.3rem;
  align-items: center;
}
.journey-card .journey-card-transport-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.journey-card .journey-card-transport-icon svg {
  width: 14px;
  height: 14px;
}
.journey-card .journey-card-transport-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 0.5rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: default;
}
.journey-card .journey-card-body {
  padding: 1.25rem;
}
.journey-card .journey-card-body h5 {
  font-family: "Instrument Serif", serif;
  font-size: 1.25rem;
  color: #2f4a3c;
  margin-bottom: 0.25rem;
}
.journey-card .journey-card-body .journey-card-location {
  font-size: 0.8125rem;
  color: #8a8272;
  margin-bottom: 0.75rem;
}
.journey-card .journey-card-body .journey-card-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #5a5346;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.journey-card .journey-card-body .journey-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.journey-card .journey-card-body .journey-card-stats .journey-card-finished {
  color: #2e7d5b;
  margin-left: auto;
}

.profile-hero-title {
  font-family: "Instrument Serif", serif;
  font-size: 3.25rem;
  color: #2f4a3c;
  margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .profile-hero-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }
}

.transport-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.transport-type-pills .form-check {
  padding: 0;
  margin: 0;
}
.transport-type-pills .form-check input[type=radio] {
  display: none;
}
.transport-type-pills .form-check label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 2px solid #ddd6c4;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8a8272;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}
.transport-type-pills .form-check label:hover {
  border-color: #8a8272;
}
.transport-type-pills .form-check label .color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.transport-type-pills .form-check input:checked + label {
  border-color: var(--transport-color, #2f4a3c);
  color: var(--transport-color, #2f4a3c);
  background: rgba(47, 74, 60, 0.04);
}

.form-switch-sentier .form-check-input {
  width: 44px;
  height: 24px;
  border-radius: 100px;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.form-switch-sentier .form-check-input:checked {
  background-color: #2f4a3c;
}
.form-switch-sentier .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(47, 74, 60, 0.15);
}
.form-switch-sentier label {
  padding-top: 2px;
}

.pagination .page-link {
  color: #2f4a3c;
  border-color: #ddd6c4;
  border-radius: 6px;
}
.pagination .page-link:hover {
  background-color: rgba(47, 74, 60, 0.06);
  border-color: #2f4a3c;
}
.pagination .page-item.active .page-link {
  background-color: #2f4a3c;
  border-color: #2f4a3c;
}

.login-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(47, 74, 60, 0.12);
  padding: 2.5rem;
}
.login-card .login-title {
  font-family: "Instrument Serif", serif;
  font-size: 1.875rem;
  color: #2f4a3c;
  margin-bottom: 0.25rem;
}
.login-card .login-subtitle {
  color: #8a8272;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.login-card .btn-primary {
  width: 100%;
  padding: 0.625rem;
  font-weight: 600;
}
.login-card .login-forgot {
  color: #c1622d;
  font-size: 0.8125rem;
  text-decoration: none;
}
.login-card .login-forgot:hover {
  text-decoration: underline;
}

.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #c1622d;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(193, 98, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(193, 98, 45, 0.45);
  color: #fff;
}

.elevation-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
  padding: 1.25rem;
}
.elevation-card h5 {
  font-family: "Instrument Serif", serif;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.poi-sidebar {
  overflow-y: auto;
  max-height: 80vh;
  padding-right: 0.25rem;
}
@media (max-width: 991px) {
  .poi-sidebar {
    max-height: 300px;
    margin-top: 1rem;
  }
}

.poi-sidebar-title {
  font-family: "Instrument Serif", serif;
  font-size: 1rem;
  color: #2f4a3c;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd6c4;
}

.poi-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
  margin-bottom: 0.625rem;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}
.poi-card:hover {
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
  transform: translateY(-2px);
}
.poi-card--active {
  background-color: #2f4a3c;
  box-shadow: 0 0 0 2px #2f4a3c, 0 4px 14px rgba(47, 74, 60, 0.12);
  color: #fff;
}
.poi-card--active .poi-card-body,
.poi-card--active .poi-card-title.poi-card-title,
.poi-card--active .poi-card-desc.poi-card-desc {
  color: #fff;
}
.poi-card .poi-card-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.poi-card .poi-card-body {
  min-width: 0;
  flex: 1;
}
.poi-card .poi-card-title {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #2f4a3c;
  margin-bottom: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poi-card .poi-card-desc {
  font-size: 0.75rem;
  color: #8a8272;
  line-height: 1.3;
}

.map-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(47, 74, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f4a3c;
  transition: box-shadow 0.2s, background-color 0.15s;
}
.map-action-btn:hover {
  box-shadow: 0 4px 14px rgba(47, 74, 60, 0.12);
  background-color: #faf8f2;
}
@media (max-width: 575px) {
  .map-action-btn {
    width: 34px;
    height: 34px;
  }
  .map-action-btn svg {
    width: 16px;
    height: 16px;
  }
}

/*# sourceMappingURL=app-7d1043473d.output.css.map */
