/* =========================================================
   Voxel Craft - Modern & Retro Voxel Survival Game Styles
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff;
}

#game-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: default;
}

/* ================= HUD ================= */

.hud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Crosshair in exact center with high-contrast difference blending */
.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
}

.crosshair::before,
.crosshair::after {
  content: '';
  position: absolute;
  background: #ffffff;
}

.crosshair::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.crosshair::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

/* Underwater Visual Tint */
.underwater-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 92, 160, 0.45) 0%, rgba(8, 48, 96, 0.8) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

/* Damage Red Vignette */
.damage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(220, 20, 20, 0.6) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

/* F3 Debug Information */
.debug-overlay {
  position: absolute;
  top: 14px;
  left: 16px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px #000;
  backdrop-filter: blur(4px);
}

/* Center-Bottom HUD Bar */
.hud-bottom-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

/* Item Name Tooltip */
.item-tooltip {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: 1px 1px 2px #000;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* Animal Proximity Banner */
.animal-prompt {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 18, 0.88);
  border: 2px solid #666666;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 40;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  animation: promptPulse 2s ease-in-out infinite alternate;
}

@keyframes promptPulse {
  0% { transform: translateX(-50%) scale(0.98); }
  100% { transform: translateX(-50%) scale(1.02); }
}

/* Status Bars: Hearts & Hunger */
.status-bars {
  display: flex;
  justify-content: space-between;
  width: 468px;
  padding: 0 4px;
  margin-bottom: 2px;
}

.health-bar,
.hunger-bar,
.oxygen-bar {
  display: flex;
  gap: 2px;
  font-size: 18px;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.8));
}

/* Hotbar Grid */
.hotbar {
  display: flex;
  background: rgba(26, 26, 26, 0.8);
  border: 3px solid rgba(75, 75, 75, 0.95);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.hotbar-slot {
  position: relative;
  width: 48px;
  height: 48px;
  background: rgba(45, 45, 45, 0.65);
  border: 2px solid rgba(100, 100, 100, 0.65);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s, border-color 0.15s;
}

.hotbar-slot:hover {
  background: rgba(65, 65, 65, 0.85);
}

.hotbar-slot.active {
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), inset 0 0 6px rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  background: rgba(80, 80, 80, 0.85);
}

.slot-num {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}

.slot-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.slot-count {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 12px;
  font-weight: bold;
  font-family: monospace;
  color: #fff;
  text-shadow: 1px 1px 2px #000, 0 0 2px #000;
}

.durability-bar {
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 4px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}

.durability-fill {
  height: 100%;
  background: #4caf50;
  transition: width 0.1s;
}

/* ================= MINECRAFT STARTUP & WORLD MENU SYSTEM ================= */

.mc-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 50;
  user-select: none;
  font-family: 'Minecraft', monospace, sans-serif;
}

.mc-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background for Sub-Screens: Authentic Pixel Art Dirt Tile */
.mc-dirt-screen {
  background-color: #24180f;
  background-image:
    radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.82) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23866043'/%3E%3Crect x='0' y='0' width='16' height='16' fill='%23775438'/%3E%3Crect x='16' y='16' width='16' height='16' fill='%23775438'/%3E%3Crect x='4' y='4' width='4' height='4' fill='%2363442c'/%3E%3Crect x='20' y='8' width='4' height='4' fill='%2363442c'/%3E%3Crect x='8' y='20' width='4' height='4' fill='%23966d4e'/%3E%3Crect x='24' y='24' width='4' height='4' fill='%23966d4e'/%3E%3Crect x='12' y='12' width='4' height='4' fill='%23573a25'/%3E%3C/svg%3E");
  background-size: auto, 64px 64px;
  image-rendering: pixelated;
}

.mc-title-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

/* Iconic 3D Stone Minecraft Logo */
.mc-logo-container {
  position: relative;
  margin-bottom: 8px;
}

.mc-logo-text {
  font-size: 70px;
  font-weight: 900;
  letter-spacing: 5px;
  color: #c4c4c4;
  text-transform: uppercase;
  font-family: 'Minecraft', monospace, Impact, sans-serif;
  text-shadow:
    0 1px 0 #b0b0b0,
    0 2px 0 #9c9c9c,
    0 3px 0 #888888,
    0 4px 0 #747474,
    0 5px 0 #606060,
    0 6px 0 #4c4c4c,
    0 7px 0 #383838,
    0 8px 8px rgba(0, 0, 0, 0.8),
    0 14px 18px rgba(0, 0, 0, 0.6);
}

.mc-splash-text {
  position: absolute;
  right: -25px;
  bottom: -18px;
  font-size: 20px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 2px 2px 0 #3f3f00, 3px 3px 0 #000;
  transform: rotate(-18deg);
  animation: mcSplashBounce 1.2s ease-in-out infinite alternate;
  white-space: nowrap;
  pointer-events: none;
}

@keyframes mcSplashBounce {
  0% { transform: rotate(-18deg) scale(0.96); }
  100% { transform: rotate(-18deg) scale(1.08); }
}

/* Authentic Minecraft Button System */
.mc-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 400px;
}

.mc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #6a6a6a;
  border-top: 2px solid #a8a8a8;
  border-left: 2px solid #a8a8a8;
  border-right: 2px solid #222222;
  border-bottom: 2px solid #222222;
  box-shadow: inset -2px -2px 0 #3a3a3a, inset 2px 2px 0 #888888, 0 3px 0 rgba(0,0,0,0.4);
  color: #e0e0e0;
  text-shadow: 2px 2px 0 #181818;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  text-decoration: none;
  transition: filter 0.05s, transform 0.05s;
}

.mc-btn:hover:not(:disabled):not(.mc-btn-disabled) {
  background: #7e7e7e;
  border-top-color: #c4c4c4;
  border-left-color: #c4c4c4;
  color: #ffffa0;
  text-shadow: 2px 2px 0 #2a2a00;
}

.mc-btn:active:not(:disabled):not(.mc-btn-disabled) {
  border-top: 2px solid #222222;
  border-left: 2px solid #222222;
  border-right: 2px solid #a8a8a8;
  border-bottom: 2px solid #a8a8a8;
  box-shadow: inset 2px 2px 0 #3a3a3a;
  transform: translateY(1px);
}

.mc-btn:disabled,
.mc-btn.mc-btn-disabled {
  background: #4a4a4a;
  border-top-color: #5a5a5a;
  border-left-color: #5a5a5a;
  border-right-color: #262626;
  border-bottom-color: #262626;
  color: #888888;
  text-shadow: 1px 1px 0 #222;
  cursor: not-allowed;
  box-shadow: none;
}

.mc-btn.wide-btn {
  width: 100%;
}

.mc-btn.half-btn {
  flex: 1;
}

.mc-btn.quart-btn {
  flex: 1;
  font-size: 14px;
}

.mc-btn.primary-btn {
  background: #3c7d3c;
  border-top-color: #5eb65e;
  border-left-color: #5eb65e;
  border-right-color: #1a4a1a;
  border-bottom-color: #1a4a1a;
  box-shadow: inset -2px -2px 0 #225a22, inset 2px 2px 0 #4d9a4d, 0 3px 0 rgba(0,0,0,0.4);
}

.mc-btn.primary-btn:hover:not(:disabled) {
  background: #469646;
  color: #ffffff;
}

.mc-btn.danger-btn {
  background: #963232;
  border-top-color: #c45252;
  border-left-color: #c45252;
  border-right-color: #4a1515;
  border-bottom-color: #4a1515;
  box-shadow: inset -2px -2px 0 #5a1e1e, inset 2px 2px 0 #ad3e3e, 0 3px 0 rgba(0,0,0,0.4);
}

.mc-btn.danger-btn:hover:not(:disabled) {
  background: #b23a3a;
  color: #ffffff;
}

.mc-btn-tag {
  font-size: 10px;
  background: #2a2a2a;
  color: #ff9800;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  border: 1px solid #ff9800;
}

.mc-btn-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

/* Title Footer */
.mc-title-footer {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #d0d0d0;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
}

/* ================= SCREEN CONTENT LAYOUTS ================= */

.mc-screen-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
  height: 90vh;
  box-sizing: border-box;
}

.mc-screen-title {
  font-size: 24px;
  color: #ffffff;
  text-shadow: 2px 2px 0 #3f3f3f, 2px 2px 0 #000;
  margin-top: 16px;
  margin-bottom: 20px;
  text-align: center;
}

/* World List Scroll Area */
.mc-world-list-container {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #1a1a1a;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.mc-world-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(45, 45, 45, 0.6);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.1s;
}

.mc-world-card:hover {
  background: rgba(70, 70, 70, 0.7);
}

.mc-world-card.selected {
  border: 2px solid #ffffff;
  background: rgba(85, 85, 85, 0.85);
}

.mc-world-thumbnail {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #333;
}

.mc-world-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.mc-world-title {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 0 #000;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.mc-world-date {
  font-size: 13px;
  color: #aaaaaa;
  text-shadow: 1px 1px 0 #000;
}

.mc-world-details {
  font-size: 12px;
  color: #888888;
  text-shadow: 1px 1px 0 #000;
}

.mc-no-worlds {
  margin: auto;
  text-align: center;
  color: #aaaaaa;
  font-size: 15px;
  text-shadow: 1px 1px 0 #000;
}

.mc-screen-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 12px;
}

/* ================= CREATE WORLD FORM ================= */

.create-world-content {
  max-width: 460px;
}

.mc-form-scrollable {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 4px;
}

.mc-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mc-form-label {
  font-size: 14px;
  color: #dddddd;
  text-shadow: 1px 1px 0 #000;
}

.mc-form-help {
  font-size: 12px;
  color: #aaaaaa;
  text-shadow: 1px 1px 0 #000;
  margin-top: 2px;
}

.mc-input {
  height: 38px;
  background: #0f0f0f;
  border: 2px solid #5a5a5a;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  padding: 0 10px;
  outline: none;
  box-sizing: border-box;
}

.mc-input:focus {
  border-color: #ffffff;
}

.mc-more-options-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #333;
  padding: 12px;
  margin-top: 4px;
}

/* Modals */
.mc-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.mc-modal-box {
  background: #2b1f16;
  border: 3px solid #5a422e;
  box-shadow: 0 0 20px rgba(0,0,0,0.9);
  padding: 24px;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.mc-modal-title {
  color: #fff;
  font-size: 20px;
  margin: 0;
  text-shadow: 2px 2px 0 #000;
}

.mc-modal-desc {
  color: #ddd;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
  text-shadow: 1px 1px 0 #000;
}

/* ================= MODAL WINDOWS ================= */

.ui-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  backdrop-filter: blur(6px);
}

.cursor-item {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
}

.cursor-icon {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8));
}

.cursor-count {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 13px;
  font-weight: bold;
  font-family: monospace;
  color: #fff;
  text-shadow: 1px 1px 2px #000, 0 0 2px #000;
}

.inventory-window {
  background: rgba(28, 32, 40, 0.96);
  border: 3px solid rgba(90, 100, 120, 0.8);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.btn-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
}

.btn-close:hover {
  color: #ff5252;
}

.crafting-section {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(18, 20, 26, 0.6);
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.crafting-label,
.inventory-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  display: block;
}

.crafting-grid {
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 4px;
}

.crafting-grid.workbench-grid {
  grid-template-columns: repeat(3, 44px);
}

.crafting-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.5);
}

.crafting-output-box {
  display: flex;
  align-items: center;
}

.output-slot {
  width: 52px !important;
  height: 52px !important;
  border-color: #ffd700 !important;
}

.slots-grid {
  display: grid;
  gap: 4px;
}

.main-storage {
  grid-template-columns: repeat(9, 44px);
  grid-template-rows: repeat(3, 44px);
}

.hotbar-storage {
  grid-template-columns: repeat(9, 44px);
}

.inv-slot {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(45, 50, 60, 0.7);
  border: 2px solid rgba(85, 95, 115, 0.6);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
}

.inv-slot:hover {
  background: rgba(70, 80, 100, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
}

.menu-dialog {
  background: rgba(28, 32, 40, 0.96);
  border: 2px solid rgba(90, 100, 120, 0.8);
  border-radius: 12px;
  padding: 24px 30px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 380px;
}

.settings-dialog {
  width: 440px;
}

.guide-dialog {
  width: 480px;
}

.dialog-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.settings-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.settings-group label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
}

.settings-group input[type="range"] {
  width: 100%;
  accent-color: #4caf50;
  cursor: pointer;
}

.settings-select {
  background: rgba(45, 50, 60, 0.8);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  font-size: 14px;
}

.key-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-weight: bold;
}

.guide-tip {
  font-size: 13px;
  color: #ffd54f;
  line-height: 1.4;
  margin-top: 8px;
  padding: 8px;
  background: rgba(255, 213, 79, 0.1);
  border-left: 3px solid #ffd54f;
  border-radius: 4px;
}

/* ================= GAMEPLAY HINTS HUD ================= */

.hint-box {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 300px;
  background: rgba(20, 26, 38, 0.88);
  border: 1px solid rgba(255, 215, 64, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 215, 64, 0.15);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.hint-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffd54f;
  text-shadow: 0 0 6px rgba(255, 213, 79, 0.6);
}

.hint-step {
  font-size: 11px;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.hint-title {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 1px 1px 2px #000;
}

.hint-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #cfd8dc;
  text-shadow: 1px 1px 2px #000;
}

.hint-key {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: monospace;
  font-size: 11px;
  color: #fff;
  font-weight: bold;
}

/* Toggle Switch Styling */
.settings-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(70, 75, 90, 0.8);
  transition: 0.25s;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #4caf50;
  border-color: #81c784;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

.settings-hint-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
