@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Play:wght@400;700&family=Special+Elite&family=Special+Gothic+Condensed+One&family=Workbench&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:focus {
  outline: none;
}
*::-moz-selection {
  background-color: #9b1f1f;
  color: white;
}
*::selection {
  background-color: #9b1f1f;
  color: white;
}
*::-moz-selection {
  background-color: #9b1f1f;
  color: white;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav {
  height: 100%;
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --sky-gradient-00: linear-gradient(to bottom, #00000c 80%, #191621 100%);
  --sky-gradient-01: linear-gradient(to bottom, #020111 85%, #191621 100%);
  --sky-gradient-24: linear-gradient(to bottom, #00000c 80%, #191621 100%);
  --sky-gradient-02: linear-gradient(to bottom, #020111 60%, #20202c 100%);
  --sky-gradient-03: linear-gradient(to bottom, #020111 10%, #3a3a52 100%);
  --sky-gradient-04: linear-gradient(to bottom, #20202c 0%, #515175 100%);
  --sky-gradient-05: linear-gradient(
    to bottom,
    #40405c 0%,
    #6f71aa 80%,
    #8a76ab 100%
  );
  --sky-gradient-06: linear-gradient(
    to bottom,
    #4a4969 0%,
    #7072ab 50%,
    #cd82a0 100%
  );
  --sky-gradient-07: linear-gradient(
    to bottom,
    #757abf 0%,
    #8583be 60%,
    #eab0d1 100%
  );
  --sky-gradient-08: linear-gradient(to bottom, #82addb 0%, #ebb2b1 100%);
  --sky-gradient-09: linear-gradient(
    to bottom,
    #94c5f8 1%,
    #a6e6ff 70%,
    #b1b5ea 100%
  );
  --sky-gradient-10: linear-gradient(to bottom, #b7eaff 0%, #94dfff 100%);
  --sky-gradient-11: linear-gradient(to bottom, #9be2fe 0%, #67d1fb 100%);
  --sky-gradient-12: linear-gradient(to bottom, #90dffe 0%, #38a3d1 100%);
  --sky-gradient-13: linear-gradient(to bottom, #57c1eb 0%, #246fa8 100%);
  --sky-gradient-14: linear-gradient(to bottom, #2d91c2 0%, #1e528e 100%);
  --sky-gradient-15: linear-gradient(
    to bottom,
    #2473ab 0%,
    #1e528e 70%,
    #5b7983 100%
  );
  --sky-gradient-16: linear-gradient(
    to bottom,
    #1e528e 0%,
    #265889 50%,
    #9da671 100%
  );
  --sky-gradient-17: linear-gradient(
    to bottom,
    #1e528e 0%,
    #728a7c 50%,
    #e9ce5d 100%
  );
  --sky-gradient-18: linear-gradient(
    to bottom,
    #154277 0%,
    #576e71 30%,
    #e1c45e 70%,
    #b26339 100%
  );
  --sky-gradient-19: linear-gradient(
    to bottom,
    #163c52 0%,
    #4f4f47 30%,
    #c5752d 60%,
    #b7490f 80%,
    #2f1107 100%
  );
  --sky-gradient-20: linear-gradient(
    to bottom,
    #071b26 0%,
    #071b26 30%,
    #8a3b12 80%,
    #240e03 100%
  );
  --sky-gradient-21: linear-gradient(
    to bottom,
    #010a10 30%,
    #59230b 80%,
    #2f1107 100%
  );
  --sky-gradient-22: linear-gradient(to bottom, #090401 50%, #4b1d06 100%);
  --sky-gradient-23: linear-gradient(to bottom, #00000c 80%, #150800 100%);
  --modal-overlay-bg: rgba(0, 0, 0, 0.8);
  --modal-bg: var(--card-bg);
  --modal-border: var(--border-color);
  --modal-header-bg: var(--primary-color);
  --modal-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  font-family: "Noto Sans", sans-serif;
  background-attachment: fixed;
  color: #1a1a1a;
  background-color: #1e2a38;
  width: 100vw;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  outline-style: none;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #9b1f1f;
  transition: all 0.2s ease-in-out;
}
a:hover {
  text-decoration: underline;
}

small {
  font-size: 0.65em;
}

label {
  font-size: 0.8em;
  font-weight: 800;
}

.flex {
  display: flex;
}
.flex.cen-cen {
  align-items: center;
  justify-content: center;
}
.flex.col {
  flex-direction: column;
}
.flex.row {
  flex-direction: row;
}

.container {
  width: 95vw;
  margin-inline: auto;
  max-width: 1200px;
}

.page-header {
  z-index: 2;
  width: 100%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  position: fixed;
  padding: 0.2rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#map {
  position: relative;
  width: 100%;
  height: 100vh;
}

.user-menu__container {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.user-menu__avatar {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  margin-bottom: 0.25em;
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
}
.user-menu__avatar i {
  color: white;
}

.form-group {
  margin-block: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #b2b2aa;
  border-radius: 4px;
  font-size: 1rem;
}

.btn {
  padding: 0.75rem 1rem;
  background-color: #9b1f1f;
  color: #f5f5f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: rgb(112.5, 22.5, 22.5);
}

.btn:disabled {
  background-color: #1a1a1a;
  cursor: not-allowed;
}

.btn-danger {
  background-color: #F44336;
}

.btn-danger:hover {
  background-color: rgb(234.1839622642, 27.9622641509, 12.8160377358);
}

.btn-primary {
  background-color: #9b1f1f;
}

.btn-primary:hover {
  background-color: rgb(112.5, 22.5, 22.5);
}

.btn-secondary {
  background-color: #1e2a38;
}

.btn-success {
  background-color: #556b2f;
}

.btn-black,
.btn.btn-black,
.btn-black:visited {
  background-color: #1a1a1a;
  color: #f5f5f0;
  border: none;
  border-bottom: 4px solid #1a2026;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  transition: background 0.15s, box-shadow 0.15s;
}

.btn-black:hover,
.btn-black:focus {
  background-color: #1a2026;
  color: #f5f5f0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
}

.btn-black:active {
  background-color: #1a1a1a;
  color: #f5f5f0;
  border-bottom-width: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* Aktive Aufgaben-Anzeige */
.current-task {
  background-color: white;
  padding: 1rem;
  border-radius: 4px;
  margin-block: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.active-task-section {
  margin-block: 1rem;
  padding: 0.75rem;
  border-left: 4px solid #9b1f1f;
  border-radius: 0 4px 4px 0;
}

.task-info {
  flex-grow: 1;
  margin-bottom: 0.75rem;
}

#current-task-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#current-task-time {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9b1f1f;
  margin-bottom: 0.75rem;
}

#dump {
  position: fixed;
  bottom: 1%;
  left: 3%;
  z-index: 101;
}

#message-to-unlogged {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.user-data-card {
  background: #f5f5f0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin-block: 1rem;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.user-data-card i {
  color: #9b1f1f;
}

.user-data-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #b2b2aa;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 2.5rem;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.user-avatar .fa-user {
  color: #1e2a38;
  font-size: 2.5rem;
}

.user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.user-info h1 {
  font-family: "Special Elite", cursive;
  font-size: 2rem;
  margin: 0;
  color: #9b1f1f;
  font-weight: 700;
}

.user-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
}

.user-stat {
  flex: 1 1 40%;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2em;
}

.user-stat label {
  font-size: 0.85em;
  color: #1a2026;
  font-weight: 600;
  margin-bottom: 0.1em;
}

.stat-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.1em;
}

.stat-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #9b1f1f 60%, #1e2a38 100%);
  border-radius: 4px 0 0 4px;
  transition: width 0.4s cubic-bezier(0.4, 2, 0.6, 1);
}

.stat-bar-value {
  font-weight: 700;
  color: #9b1f1f;
  margin-left: 0.2em;
}
.stat-bar-value::after {
  content: "%";
}

.user-skills {
  display: flex;
  gap: 2rem 0;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.user-skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

.user-skill-label {
  font-size: 0.85em;
  color: #1e2a38;
  font-weight: 600;
}

.user-skill-value {
  font-weight: 700;
  color: #9b1f1f;
}

@media (max-width: 720px) {
  .user-skill {
    width: 22%;
  }
}
.user-base-card {
  background: #f5f5f0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-block: 1rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.user-base-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-base-icon {
  font-size: 2.5rem;
  color: #9b1f1f;
}

.user-base-title {
  font-family: "Special Gothic Condensed One", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e2a38;
}

.user-base-level {
  font-size: 1.1rem;
  color: #9b1f1f;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.user-base-info {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  font-size: 1rem;
  color: #1a1a1a;
}
.user-base-info i {
  color: #1e2a38;
  margin-right: 0.5em;
}

.user-base-actions {
  display: flex;
  gap: 0.7em;
  flex-wrap: wrap;
}
.user-base-actions button {
  flex: 1 1 40%;
  min-width: 120px;
  font-size: 1em;
}
.user-base-actions button i {
  margin-right: 0.3em;
}

#game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
  transition: opacity 0.2s;
}

#game-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 320px;
  max-width: 90vw;
  border: 1px inset rgba(245, 245, 240, 0.5);
  background-color: #1a2026;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  z-index: 1010;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: none;
  text-align: center;
  animation: modal-pop 0.18s cubic-bezier(0.4, 2, 0.6, 1);
}

@keyframes modal-pop {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
#game-modal-content {
  color: #f5f5f0;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  word-break: break-word;
}

#game-modal .modal-title {
  font-size: 1.3rem;
  margin-bottom: 0.7em;
}

#game-modal-close {
  min-width: 120px;
  font-size: 1.1rem;
  border-radius: 8px;
  margin-top: 0.5em;
  background: #9b1f1f;
  color: #fff;
  border: none;
  padding: 0.7em 1.5em;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.15s;
}
#game-modal-close:hover {
  background: rgb(184.75, 36.95, 36.95);
}
#game-modal-close:active {
  background: rgb(125.25, 25.05, 25.05);
}

#active-task-timer {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  background: #9b1f1f;
  color: #f5f5f0;
  font-size: 2rem;
  font-family: "Special Elite", cursive;
  text-align: center;
  padding: 1rem 0.5rem 1rem 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-bottom: 3px solid #1e2a38;
  transition: top 0.3s;
  /* Fix für Safari: sticky nur im body, nicht in .container */
}

#active-task-timer .task-time {
  background: rgba(245, 245, 240, 0.5);
  padding: 0.3em 1em 0.1em 1em;
  font-size: 1em;
}

#active-task-timer .btn {
  font-size: 1rem;
  padding: 0.4em 1.2em;
}

@media (max-width: 600px) {
  #active-task-timer .container {
    font-size: 1.1rem;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem 0.2rem;
  }
  #active-task-timer .task-name,
  #active-task-timer .task-time,
  #active-task-timer .btn {
    margin: 0;
  }
}
@media (max-width: 720px) {
  .user-data-card {
    padding: 1rem;
  }
  .user-data-header {
    align-items: center;
  }
  .user-stats {
    flex-direction: column;
    gap: 0.7rem;
  }
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 12px;
  background: rgba(245, 245, 240, 0.5);
  padding: 12px;
  border-radius: 8px;
  min-height: 100px;
}
.item-grid.ui-droppable-hover {
  background: rgba(155, 31, 31, 0.7);
}

.item-tile {
  border-radius: 6px;
  width: 84px;
  max-width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.item-tile:hover {
  border-color: #9b1f1f;
  box-shadow: 0 4px 12px rgba(155, 31, 31, 0.12);
}
.item-tile .item-img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 0.2em;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: block;
}
.item-tile .item-name {
  text-shadow: 0 0 2px black, 0 0 2px black;
  position: absolute;
  bottom: 2%;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-align: center;
  color: #f5f5f0;
  line-height: 1.2;
}
.item-tile .item-amount {
  position: absolute;
  left: 4px;
  top: 8px;
  background: #9b1f1f;
  color: #f5f5f0;
  font-size: 0.6em;
  border-radius: 8px;
  padding: 0 6px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}
.item-tile .item-durability {
  position: absolute;
  top: 4px;
  right: 6px;
  background: #1e2a38;
  color: #f5f5f0;
  font-size: 0.7rem;
  border-radius: 8px;
  padding: 0 5px;
  font-weight: 500;
  min-width: 18px;
  text-align: center;
  opacity: 0.85;
}
.item-tile .item-durability-bar-outer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(30, 42, 56, 0.18);
  overflow: hidden;
  z-index: 2;
}
.item-tile .item-durability-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #1e2a38 0%, #F44336 95%, #f5f5f0 100%);
  transition: width 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}
.item-tile .item-bonus-corner {
  position: absolute;
  left: 4px;
  top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  z-index: 3;
}
.item-tile .item-bonus {
  display: inline-block;
  background: rgba(30, 42, 56, 0.85);
  color: #f5f5f0;
  font-size: 0.6em;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 5px;
  margin-bottom: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.13);
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: all;
  cursor: help;
}
.item-tile .item-bonus-capacity {
  background: rgba(155, 31, 31, 0.85);
}
.item-tile .item-bonus-attack {
  background: #b33;
}
.item-tile .item-bonus-defense {
  background: #36a;
}
.item-tile .item-bonus-speed {
  background: #3a3;
}

.user-items-list {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
}
.user-items-list h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e2a38;
}

#inventory {
  margin-block: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#inventory #equipment-ui {
  max-width: 540px;
  position: relative;
  flex: 1;
  aspect-ratio: 12/18;
  background: url(/img/bg/equipment-bg.png) no-repeat center center;
  background-size: cover;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
#inventory #user-items {
  background: url(/img/bg/inventory-bg.jpg) no-repeat center center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
  overflow-y: auto;
}
#inventory #user-items::-webkit-scrollbar {
  width: 8px;
  background-color: #b2b2aa;
  border-radius: 8px;
}
#inventory #user-items::-webkit-scrollbar-thumb {
  background-color: #9b1f1f;
  border-radius: 8px;
}
#inventory #user-items::-webkit-scrollbar-thumb:hover {
  background-color: rgb(112.5, 22.5, 22.5);
}
@media (max-width: 720px) {
  #inventory {
    flex-direction: column;
  }
}

.equip-slot {
  aspect-ratio: 1/1;
  position: absolute;
  width: 16.66%;
  border: 2px dashed #aaa;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.equip-slot.ui-droppable-hover {
  border: 2px dashed #9b1f1f;
}

.equip-slot[data-slot=head] {
  top: 5.555%;
  left: 41.666%;
}

.equip-slot[data-slot=body] {
  top: 22.222%;
  left: 41.666%;
}

.equip-slot[data-slot=hand_left] {
  top: 44.444%;
  left: 66.666%;
}

.equip-slot[data-slot=hand_right] {
  top: 44.444%;
  left: 16.666%;
}

.equip-slot[data-slot=legs] {
  top: 55.555%;
  left: 41.666%;
}

.equip-slot[data-slot=shoes] {
  top: 77.777%;
  left: 41.666%;
}

.equip-slot[data-slot=belt] {
  top: 38.888%;
  left: 41.666%;
}

.equip-slot[data-slot=weapon] {
  top: 22.222%;
  left: 74.999%;
}

.equip-slot[data-slot=back] {
  top: 22.222%;
  left: 8.333%;
}

.equip-slot .item-tile {
  cursor: grab;
}

.equipment-bonus-summary {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.base-item-grid {
  min-height: 80px;
  background: rgba(255, 255, 255, 0.08);
}

#user-tasks {
  background-image: url(/img/bg/old-dirty-paper.jpg);
  background-repeat: repeat;
  background-size: 50%;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-block: 1rem;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

#user-tasks.has-active-task {
  position: sticky;
}

#user-tasks h2 {
  color: #1a2026;
  font-size: 2rem;
  font-family: "Special Elite", cursive;
  letter-spacing: 0.1em;
  margin-top: 0;
  margin-bottom: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#user-tasks h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1a2026;
}

.tasks-list {
  margin-bottom: 1.5rem;
}

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

.task-item {
  padding: 1rem;
  border-left: 4px solid #9b1f1f;
  background-color: #f5f5f0;
  margin-bottom: 0.5rem;
  border-radius: 0 4px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.task-item.completed {
  border-left-color: #556b2f;
  background-color: rgba(85, 107, 47, 0.05);
}

.task-name {
  flex-grow: 1;
  padding-top: 0.25em;
}

.task-time {
  font-weight: 700;
  color: #9b1f1f;
  background-color: rgba(155, 31, 31, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  min-width: 4rem;
  text-align: center;
}

.task-loading {
  padding: 1rem;
  font-style: italic;
  color: #1a1a1a;
  text-align: center;
}

.no-tasks {
  padding: 1rem;
  text-align: center;
  color: #1a1a1a;
  font-style: italic;
  background-color: #f5f5f0;
  border-radius: 4px;
}

#active-task-timer {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  background: #9b1f1f;
  color: #f5f5f0;
  font-size: 2rem;
  font-family: "Special Elite", cursive;
  text-align: center;
  padding: 1rem 0.5rem 1rem 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-bottom: 3px solid #1e2a38;
  transition: top 0.3s;
  /* Fix für Safari: sticky nur im body, nicht in .container */
}

#active-task-timer .task-time {
  background: rgba(245, 245, 240, 0.5);
  padding: 0.3em 1em 0.1em 1em;
  font-size: 1em;
}

#active-task-timer .btn {
  font-size: 1rem;
  padding: 0.4em 1.2em;
}

@media (max-width: 600px) {
  #active-task-timer .container {
    font-size: 1.1rem;
    line-height: 1.3;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem 0.2rem;
  }
  #active-task-timer .task-name,
  #active-task-timer .task-time,
  #active-task-timer .btn {
    margin: 0;
  }
}
.item-modal-img-wrap {
  width: 100%;
  margin: 0 0 1.2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-modal-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.item-modal-desc {
  margin-bottom: 1rem;
}

.item-modal-amount,
.item-modal-durability,
.item-modal-capacity {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1e2a38;
  font-weight: 600;
}

.scanlines-bg {
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 3px;
}

.crt-font {
  font-family: "Workbench", sans-serif;
  color: #b3ff76;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "BLED" 100, "SCAN" -30;
}

.task-timer-content.completed {
  color: #28a745;
  animation: pulse 2s infinite;
}

.task-timer-content.completed .task-time {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
#story-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
#story-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#story-modal {
  color: white;
  font-family: "Domine", serif;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(10, 10, 10, 0.8);
}
#story-modal #story-modal-image {
  margin-bottom: 1.5rem;
}
#story-modal #story-modal-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
#story-modal #story-modal-text {
  text-align: left;
  letter-spacing: 0.2px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  white-space: pre-wrap;
  -webkit-hyphens: auto;
  hyphens: auto;
}
#story-modal #story-modal-choices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#story-modal #story-modal-choices .btn {
  font-size: 1.1rem;
  font-family: "Domine", serif;
  width: 100%;
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
#story-modal #story-modal-choices .btn:hover {
  background-color: white;
  color: black;
}

.map-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.map-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
.map-overlay #map {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}

.map-toggle-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #556b2f, #6b8e23);
  border: 3px solid #f5f5f0;
  border-radius: 50%;
  color: #f5f5f0;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 920;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.map-toggle-btn:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #6b8e23, #8fbc8f);
}
.map-toggle-btn:active {
  transform: translateX(-50%) scale(0.95);
}
.map-toggle-btn.active {
  background: linear-gradient(135deg, #dc143c, #ff1493);
  animation: pulse 2s infinite;
}
.map-toggle-btn.active + #in-base-overlay {
  display: none;
}

@media (max-width: 768px) {
  .map-toggle-btn {
    bottom: 15px;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(220, 20, 60, 0.6);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
}
#in-base-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(85, 107, 47, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 910;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

/* ====================================;
   BUILDING MODAL STYLES
==================================== */
.building-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur(0);
            backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  }
}
.building-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #00ff41;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 90vw;
  max-height: 90vh;
  width: 600px;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.building-modal-header {
  background: linear-gradient(90deg, #00ff41 0%, #00cc33 100%);
  color: #000;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}
.building-modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.building-modal-header h2 i {
  font-size: 1.1rem;
}

.building-modal-close {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.building-modal-close:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}
.building-modal-close i {
  font-size: 14px;
}

.building-modal-body {
  max-height: calc(90vh - 80px);
  overflow-y: auto;
  padding: 0;
  /* Custom Scrollbar */
}
.building-modal-body::-webkit-scrollbar {
  width: 8px;
}
.building-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
.building-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff41, #00cc33);
  border-radius: 4px;
}
.building-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00cc33, #009926);
}

.building-info-section {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}
.building-info-section:last-child {
  border-bottom: none;
}
.building-info-section h3 {
  color: #00ff41;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.building-info-section h3 i {
  font-size: 1rem;
  opacity: 0.8;
}

.building-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px 15px;
  align-items: center;
}

.building-info-label {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
}

.building-info-value {
  color: #fff;
  font-size: 0.9rem;
  word-break: break-word;
}
.building-info-value a {
  color: #00ff41;
  text-decoration: none;
}
.building-info-value a:hover {
  text-decoration: underline;
}

.building-id-badge {
  background: linear-gradient(90deg, #00ff41, #00cc33);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "Courier New", monospace;
}

.building-coordinates {
  font-family: "Courier New", monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 6px;
  border-left: 3px solid #00ff41;
  font-size: 0.9rem;
  line-height: 1.4;
}

.loading-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 0.9rem;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 255, 65, 0.3);
  border-top: 2px solid #00ff41;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.osm-success {
  color: #00ff41;
}

.osm-error {
  color: #ff4444;
}

.building-poi {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}
.building-poi:last-child {
  margin-bottom: 0;
}

.building-poi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}

.building-poi-category {
  background: #00ff41;
  color: #000;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .building-modal-content {
    width: 95vw;
    max-height: 95vh;
    margin: 10px;
    border-radius: 8px;
  }
  .building-modal-header {
    padding: 12px 15px;
  }
  .building-modal-header h2 {
    font-size: 1.1rem;
  }
  .building-modal-close {
    width: 28px;
    height: 28px;
  }
  .building-info-section {
    padding: 15px;
  }
  .building-info-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .building-info-label {
    font-weight: 600;
    color: #00ff41;
    font-size: 0.85rem;
  }
  .building-info-value {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .building-coordinates {
    font-size: 0.8rem;
  }
}
/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .building-modal-content {
    max-height: 85vh;
  }
  .building-modal-body {
    max-height: calc(85vh - 60px);
  }
}
/* Dark theme enhancements */
.building-modal-content {
  /* Glassmorphism effect */
  background: rgba(26, 26, 26, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 65, 0.3);
  /* Subtle inner glow */
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.2), inset 0 1px 0 rgba(0, 255, 65, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Accessibility improvements */
.building-modal-close:focus {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
}

.building-modal-content:focus-within {
  border-color: #00ff41;
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.4), inset 0 1px 0 rgba(0, 255, 65, 0.2), 0 0 0 1px rgba(0, 255, 65, 0.5);
}

/* Success/Error states for OSM data */
.osm-success {
  color: #00ff41;
}

.osm-error {
  color: #ff4444;
}

/* Hover effects for interactive elements */
.building-coordinates:hover {
  background: rgba(0, 255, 65, 0.1);
  transition: background 0.2s ease;
}

.building-poi:hover {
  background: rgba(0, 255, 65, 0.15);
  border-color: rgba(0, 255, 65, 0.5);
  transition: all 0.2s ease;
}

.building-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay-bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.building-modal .building-modal-content {
  background: var(--modal-bg);
  border: 2px solid var(--modal-border);
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--modal-shadow);
  color: var(--text-primary);
}
.building-modal .building-modal-header {
  background: var(--modal-header-bg);
  color: white;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  position: relative;
}
.building-modal .building-modal-header h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}
.building-modal .building-modal-header h2 i {
  font-size: 16px;
}
.building-modal .building-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.building-modal .building-modal-close:hover {
  opacity: 0.7;
}
.building-modal .building-modal-body {
  padding: 20px;
}

.building-info-section {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}
.building-info-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.building-info-section h3 {
  margin: 0 0 10px 0;
  color: var(--primary-color);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.building-info-section h3 i {
  font-size: 16px;
}

.building-info-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
  font-size: 14px;
}
.building-info-grid .building-info-label {
  font-weight: bold;
  color: var(--text-secondary);
}
.building-info-grid .building-info-value {
  color: var(--text-primary);
}
.building-info-grid .building-info-value a {
  color: var(--primary-color);
  text-decoration: none;
}
.building-info-grid .building-info-value a:hover {
  text-decoration: underline;
}

.building-coordinates {
  font-family: monospace;
  background: var(--bg-secondary);
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 12px;
}

.building-id-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-family: monospace;
  margin: 2px;
}

.building-pois {
  margin-top: 15px;
}
.building-pois .building-poi {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 8px;
}
.building-pois .building-poi .building-poi-header {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.building-pois .building-poi .building-poi-header .building-poi-category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  text-transform: uppercase;
  margin-left: 8px;
}

.loading-indicator {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
}
.loading-indicator .loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .building-modal {
    padding: 10px;
  }
  .building-modal .building-modal-content {
    max-height: 90vh;
  }
  .building-info-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .building-info-grid .building-info-label::after {
    content: ":";
  }
}
/* ====================================
   SIMPLIFIED MODAL STYLES
==================================== */
.simplified-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

.simplified-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #00ff41;
  border-radius: 8px;
  max-width: 95vw;
  max-height: 98dvh;
  width: 400px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.simplified-modal-header {
  background: linear-gradient(90deg, #00ff41 0%, #00cc33 100%);
  color: #000;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.simplified-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.simplified-modal-close {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.simplified-modal-close:hover {
  background: rgba(0, 0, 0, 0.4);
}

.simplified-modal-body {
  padding: 16px;
  color: #fff;
}

.modal-section h3 {
  color: #00ff41;
  margin: 0 0 12px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px 12px;
  align-items: center;
  font-size: 0.9rem;
}

.modal-label {
  color: #ccc;
  font-weight: 500;
}

.modal-value {
  color: #fff;
  font-family: "Courier New", monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .simplified-modal-content {
    width: 95vw;
    margin: 10px;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .modal-label {
    font-weight: 600;
    color: #00ff41;
  }
  .modal-value {
    margin-bottom: 8px;
  }
}
.zoom-slider-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #f5f5f0;
  border-radius: 8px;
  padding: 15px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.zoom-slider-track {
  height: 150px;
  width: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  vertical-align: middle;
  width: 16px;
  height: 160px;
  background: transparent;
  outline: none;
  cursor: pointer;
}
.zoom-slider::-webkit-slider-track {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #556b2f, #6b8e23);
  border-radius: 2px;
  border: none;
}
.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 16px;
  height: 16px;
  background: #f5f5f0;
  border: 2px solid #556b2f;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.zoom-slider::-webkit-slider-thumb:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}
.zoom-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #556b2f, #6b8e23);
  border-radius: 2px;
  border: none;
}
.zoom-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #f5f5f0;
  border: 2px solid #556b2f;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.zoom-slider::-moz-range-thumb:hover {
  background: #f0f0f0;
}
.zoom-slider::-ms-track {
  width: 100%;
  height: 4px;
  background: transparent;
  border: none;
}
.zoom-slider::-ms-fill-lower {
  background: linear-gradient(90deg, #556b2f, #6b8e23);
  border-radius: 2px;
}
.zoom-slider::-ms-fill-upper {
  background: linear-gradient(90deg, #556b2f, #6b8e23);
  border-radius: 2px;
}
.zoom-slider::-ms-thumb {
  width: 16px;
  height: 16px;
  background: #f5f5f0;
  border: 2px solid #556b2f;
  border-radius: 50%;
  cursor: pointer;
}
.zoom-slider:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.zoom-slider:disabled::-webkit-slider-thumb {
  cursor: not-allowed;
  background: #ccc;
  border-color: #999;
}
.zoom-slider:disabled::-moz-range-thumb {
  cursor: not-allowed;
  background: #ccc;
  border-color: #999;
}

.zoom-level-display {
  color: #f5f5f0;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  font-family: "Courier New", monospace;
  background: rgba(85, 107, 47, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 35px;
}

@media (max-width: 768px) {
  .zoom-slider-container {
    padding: 12px 6px;
  }
  .zoom-slider-track {
    width: 16px;
    height: 160px;
  }
  .zoom-slider {
    width: 16px;
    height: 160px;
  }
  .zoom-slider::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
  }
  .zoom-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
  }
  .zoom-level-display {
    font-size: 0.8rem;
    padding: 3px 6px;
  }
}
.zoom-slider-track {
  width: 16px;
  height: 160px;
}

.zoom-slider {
  width: 16px;
  height: 160px;
}
.zoom-slider::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
}
.zoom-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
}

.zoom-level-display {
  font-size: 0.8rem;
  padding: 3px 6px;
}

form {
  font-family: "Noto Sans", sans-serif;
  color: #1a1a1a;
  width: 100vw;
  max-width: 100%;
}
form .formfieldset {
  border: 1px solid #b2b2aa;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}
form .formfieldset legend {
  color: #1e2a38;
  font-size: 2rem;
  font-weight: 200;
  padding: 0 10px;
  margin-left: -10px;
}
form .form-group {
  margin-bottom: 15px;
}
form .form-group label {
  font-family: "Special Gothic Condensed One", sans-serif;
  font-size: large;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #1a2026;
}
form .form-group input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #b2b2aa;
  border-radius: 4px;
  transition: border-color 0.3s;
}
form .form-group input:focus {
  border-color: #205284;
  outline: none;
  box-shadow: 0 0 5px rgba(32, 82, 132, 0.5);
}
form .checkbox {
  display: flex;
  align-items: center;
}
form .checkbox input[type=checkbox] {
  margin-right: 10px;
}
form .checkbox label {
  font-size: 0.9rem;
  color: #1a1a1a;
}
form .form-required {
  font-size: 0.85rem;
  color: #F44336;
  margin-top: 10px;
}
form button {
  width: 100%;
  margin-top: 20px;
  font-family: "Noto Sans", sans-serif;
  display: inline-block;
  background-color: #9b1f1f;
  color: #f5f5f0;
  font-size: 1.125rem;
  padding: 10px 20px;
  border: none;
  border-bottom: 4px solid rgb(91.25, 18.25, 18.25);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease-out;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
form button:hover {
  background-color: rgb(176.25, 35.25, 35.25);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
form button:active {
  background-color: rgb(133.75, 26.75, 26.75);
  border-bottom-width: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}/*# sourceMappingURL=style.css.map */