/* Blocks & Items Database - Minecraft Theme */

* {
  font-family: "Segoe UI", Geneva, sans-serif !important;
  box-sizing: border-box !important;
}

html {
  overflow-y: scroll;
  scrollbar-width: none;
  min-height: 100%;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background-color: #f0f0f0;
  background-image: url('/images/mc heads/1B.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-top: 58px;
  padding-bottom: 0;
}

body > footer {
  position: relative !important;
  margin: 0 !important;
  z-index: 100 !important;
}

.container {
  max-width: 900px !important;
  margin: 0 auto !important;
  display: flex;
  flex: 1;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000;
  font-size: 14px !important;
  padding: 12px !important;
  width: 100%;
  box-sizing: border-box;
}

.main-content {
  flex: 1;
  background: linear-gradient(135deg, #A0826D 0%, #8B6F47 50%, #7B5E37 100%);
  border: 2px solid #000;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  flex-direction: column;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
  font-size: 14px !important;
  color: #000 !important;
  margin: 0 0 8px 0 !important;
  padding-bottom: 6px !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  font-weight: bold !important;
}

/* Welcome section */
.welcome-section {
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.welcome-section-header {
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 12px 12px 12px 12px;
  width: auto;
  box-sizing: border-box;
  box-shadow: none;
}

.welcome-section-header h2 {
  background-color: #f5f5f0;
  border: 2px solid #000000;
  padding: 8px 12px;
  border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  font-size: 16px !important;
  margin: 0 !important;
  color: #000 !important;
  font-weight: bold !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
  display: block;
  line-height: 1.4;
}

/* Item Page Header Components */
.welcome-section-header .header-content {
  background-color: #f5f5f0 !important;
  padding: 12px 12px 12px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border: 2px solid #000 !important;
}

.welcome-section-header .block-image {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff !important;
  border: 2px solid #000 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.welcome-section-header .block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.welcome-section-header .no-image {
  color: #999;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
}

.welcome-section-header .header-text {
  flex: 1;
}

.welcome-section-header h1 {
  color: #000 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.1) !important;
}

.welcome-section-header > .header-content > .header-text > p {
  color: #666 !important;
  font-size: 12px !important;
  margin: 2px 0 !important;
  font-weight: normal !important;
}

.minecraft-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e8e8e8;
  border: 1px solid #999;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 11px;
  margin-top: 4px;
}

.minecraft-id-badge .id-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.minecraft-id-badge .id-text {
  color: #333;
  font-weight: bold;
  font-family: "Courier New", monospace;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.header-wrapper h1 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: bold !important;
  color: #000 !important;
  border: none !important;
  padding: 0 !important;
}

.welcome-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.welcome-hero h1 {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #000 !important;
  border: none !important;
  padding: 0 !important;
}

.welcome-hero p {
  margin: 0 !important;
  font-size: 14px !important;
  color: #333 !important;
}

/* Search Bar */
.search-bar-container {
  margin: 12px 16px;
  padding: 0;
  box-sizing: border-box;
}

.welcome-search {
  display: flex;
  gap: 12px;
  width: 100%;
}

.welcome-search input {
  flex: 1;
  padding: 6px 10px;
  border: 2px solid #000;
  background-color: #f3ede1;
  font-size: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
  color: #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  height: fit-content;
  line-height: 1.4;
  box-sizing: border-box;
}

.welcome-search input:focus {
  outline: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}

.welcome-search button {
  padding: 6px 10px !important;
  border: 3px solid #000 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.05s !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  background-color: #6e70b7 !important;
  color: #fff !important;
  text-align: center !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  height: fit-content;
  flex-shrink: 0;
}


.welcome-search button:hover {
  background: #7e82c7 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3) !important;
  transform: translate(2px, 2px) !important;
}

.welcome-search button:active {
  box-shadow: 1px 1px 0 rgba(0,0,0,0.3) !important;
  transform: translate(3px, 3px) !important;
}

/* Alphabet Filter */
.alphabet-filter {
  margin: 12px 16px;
  padding: 12px;
  background-color: #f3ede1;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.alphabet-filter p {
  font-size: 13px;
  font-weight: bold;
  color: #000;
  margin-bottom: 12px;
}

.alphabet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.letter-link {
  padding: 6px 10px;
  background-color: #71b953;
  border: 2px solid #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.05s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  min-width: 28px;
  text-align: center;
}

.letter-link:hover {
  background-color: #71b953;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.letter-link.active {
  background-color: #ffa500;
  border-color: #000;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

/* Blocks Grid */
.blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  width: auto;
  margin: 12px 16px;
}

.block-item {
  padding: 12px;
  background-color: #f3ede1;
  border: 2px solid #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  min-height: auto;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.05s;
  text-align: center;
  text-decoration: none;
  color: #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.block-item:hover {
  background-color: #f3ede1;
  border-color: #8B6F47;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

.block-item:hover .block-title {
  color: #000;
}

.block-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 2px;
}

.block-image img {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  object-fit: contain;
}

.block-title-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.block-title {
  margin: 0 !important;
  font-weight: bold;
  color: #000;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
  font-size: 12px;
  word-break: break-word;
  width: 100%;
  border: none !important;
  padding: 0 !important;
}

.block-item:hover .block-title {
  color: #fff;
}

/* Empty State */
.no-blocks {
  text-align: center;
  padding: 20px;
  background-color: #f3ede1;
  border: 2px solid #000;
  margin-left: -16px;
  margin-right: -16px;
  margin-top: 12px;
  margin-bottom: 12px;
  width: calc(100% + 32px);
  box-sizing: border-box;
  padding-left: 36px;
  padding-right: 36px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  grid-column: 1 / -1;
}

.no-blocks h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #000;
}

.no-blocks p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #666;
}

.no-blocks a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  transition: all 0.05s;
}

.no-blocks a:hover {
  background-color: #0056b3;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

/* Item Page Styling */
.page-content {
  padding: 0;
  margin: 0;
  overflow: visible;
}

.info-section {
  background-color: #f3ede1;
  border: 2px solid #000;
  padding: 12px 16px;
  margin: 0 12px 12px 12px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.info-section h2 {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px 0;
  border-bottom: 2px solid #000;
  padding-bottom: 6px;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
}

.info-section p {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.text-container {
  background-color: #faf8f5;
  border: 2px solid #d4c4a8;
  border-radius: 6px;
  padding: 16px;
  margin-top: 8px;
  box-shadow: inset 2px 2px 0 rgba(0,0,0,0.1);
}

.text-container p {
  margin: 0 !important;
  color: #5a4a3a !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 12px 12px 12px;
  padding: 0;
  width: auto;
  box-sizing: border-box;
}

.action-btn {
  padding: 6px 10px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  transition: all 0.05s !important;
  border: 3px solid #000 !important;
  cursor: pointer !important;
  font-family: "Arial", sans-serif !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: #6c5ce7 !important;
}

.action-btn:hover {
  background: #5f3dc4 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3) !important;
  transform: translate(2px, 2px) !important;
}

.action-btn:active {
  box-shadow: 1px 1px 0 rgba(0,0,0,0.3) !important;
  transform: translate(3px, 3px) !important;
}

/* Report Issue Modal Styling */
/* Report Modal - Matching forum-topic.css */
.report-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.report-dropdown.active {
  display: flex;
}

.report-dropdown .modal-content {
  background-color: #b8a89c;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  max-width: 500px;
  width: 90%;
  padding: 24px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

.modal-close-btn:hover {
  color: #cc0000;
}

.report-dropdown .report-modal-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
}

.report-modal-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.2 !important;
}

.report-modal-intro {
  margin-bottom: 16px;
}

.report-modal-intro p {
  font-size: 14px !important;
  color: #666 !important;
  margin: 0 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.4 !important;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
}

.form-input {
  width: 100% !important;
  padding: 12px !important;
  font-size: 14px !important;
  border: 2px solid #000 !important;
  background-color: #fbfbfa !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000 !important;
}

.form-input:focus {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.form-group select,
.form-group textarea {
  width: 100% !important;
  padding: 12px !important;
  font-size: 14px !important;
  border: 2px solid #000 !important;
  background-color: #fbfbfa !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000 !important;
  resize: vertical !important;
}

.form-group textarea:focus,
.form-group select:focus {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.form-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.form-buttons .btn {
  display: inline-block;
  padding: 6px 10px;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.05s;
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
}

.form-buttons .btn-primary {
  background-color: #2ecc71;
  color: #fff;
}

.form-buttons .btn-primary:hover {
  background-color: #27ae60;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.form-buttons .btn-secondary {
  background-color: #e74c3c;
  color: #fff;
}

.form-buttons .btn-secondary:hover {
  background-color: #c0392b;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

/* Minecraft Crafting Table Styling */
.visual-crafting-table {
  background-color: #8b7355;
  border: 3px solid #5a4a3a;
  padding: 10px;
  margin: 0 0 12px 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: block;
}

.crafting-grid {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 6px;
  background-color: #a89880;
  padding: 6px;
  border: 2px solid #3d3d3d;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.2), inset -2px -2px 0 rgba(0,0,0,0.5);
  align-items: center;
}

.crafting-slot {
  width: 48px;
  height: 48px;
  background-color: #8b8680;
  border: 2px solid #3d3d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all 0.1s;
}

.crafting-slot:hover {
  background-color: #9a9590;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.4), inset -1px -1px 0 rgba(0,0,0,0.6);
}

.crafting-slot img,
.crafting-slot .no-item-image,
.crafting-slot .cycling-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.crafting-slot .no-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  background-color: #7a7570;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crafting-slot .item-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 2px;
  font-family: "Arial", sans-serif;
}

.crafting-arrow {
  color: #8b8680;
  font-size: 24px;
  margin: auto 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

/* Blasting Furnace Table Styling */
.blasting-recipe-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 12px auto;
}

.visual-blasting-table {
  background-color: #8b7355;
  border: 3px solid #5a4a3a;
  padding: 12px;
  margin: 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.blasting-furnace-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blasting-furnace-icon img {
  width: 44px;
  height: 44px;
  border: 2px solid #3d3d3d;
  background-color: #8b8680;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  display: block;
}

.blasting-furnace-icon h4 {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
}

/* Smelting Furnace Table Styling */
.smelting-recipe-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 0 0 12px 0;
}

.smelting-recipe-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 0;
}

.visual-smelting-table {
  background-color: #8b7355;
  border: 3px solid #5a4a3a;
  padding: 12px;
  margin: 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.smelting-furnace-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.smelting-input,
.smelting-result {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.visual-smelting-table .crafting-slot {
  width: 44px !important;
  height: 44px !important;
  border: 2px solid #3d3d3d !important;
  background-color: #8b8680 !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5) !important;
}

.smelting-input .crafting-slot,
.smelting-result .crafting-slot {
  width: 48px !important;
  height: 48px !important;
}

.smelting-input .crafting-slot img,
.smelting-result .crafting-slot img,
.smelting-input .crafting-slot .no-item-image,
.smelting-result .crafting-slot .no-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.smelting-arrow {
  color: #8b8680;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: linear-gradient(90deg, #ff4500 0%, #ff6347 50%, #ff4500 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fireFlow 2s ease-in-out infinite;
}

.visual-stonecutter-table {
  background-color: #8b7355;
  border: 3px solid #5a4a3a;
  padding: 12px;
  margin: 0 0 12px 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stonecutter-input,
.stonecutter-result {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.visual-stonecutter-table .crafting-slot {
  width: 44px !important;
  height: 44px !important;
  border: 2px solid #3d3d3d !important;
  background-color: #8b8680 !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5) !important;
}

.stonecutter-input .crafting-slot,
.stonecutter-result .crafting-slot {
  width: 48px !important;
  height: 48px !important;
}

.stonecutter-input .crafting-slot img,
.stonecutter-result .crafting-slot img,
.stonecutter-input .crafting-slot .no-item-image,
.stonecutter-result .crafting-slot .no-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.stonecutter-arrow {
  color: #8b8680;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.stonecutter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5);
}

.stonecutter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stonecutter-header-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.stonecutter-label {
  font-size: 14px;
  font-weight: bold;
  color: #8b8680;
}

.stonecutter-label-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.blasting-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.blasting-header-top h4 {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
}

.blasting-input,
.blasting-result {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.visual-blasting-table .crafting-slot {
  width: 44px !important;
  height: 44px !important;
  border: 2px solid #3d3d3d !important;
  background-color: #8b8680 !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5) !important;
}


.blasting-input .crafting-slot,
.blasting-result .crafting-slot {
  width: 48px !important;
  height: 48px !important;
}

.blasting-input .crafting-slot img,
.blasting-result .crafting-slot img,
.blasting-input .crafting-slot .no-item-image,
.blasting-result .crafting-slot .no-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.blasting-arrow {
  color: #8b8680;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: linear-gradient(90deg, #ff4500 0%, #ff6347 50%, #ff4500 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fireFlow 2s ease-in-out infinite;
}

@keyframes fireFlow {
  0% {
    background-position: 200% 0;
  }
  50% {
    background-position: 0 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Campfire Table Styling */
.visual-campfire-table {
  background-color: #8b7355;
  border: 3px solid #5a4a3a;
  padding: 12px;
  margin: 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.campfire-recipe-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 0 0 12px 0;
}

.campfire-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.campfire-input,
.campfire-result {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.visual-campfire-table .crafting-slot {
  width: 44px !important;
  height: 44px !important;
  border: 2px solid #3d3d3d !important;
  background-color: #8b8680 !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5) !important;
}

.campfire-input .crafting-slot,
.campfire-result .crafting-slot {
  width: 48px !important;
  height: 48px !important;
}

.campfire-input .crafting-slot img,
.campfire-result .crafting-slot img,
.campfire-input .crafting-slot .no-item-image,
.campfire-result .crafting-slot .no-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.campfire-arrow {
  color: #8b8680;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: linear-gradient(90deg, #ff4500 0%, #ff6347 50%, #ff4500 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fireFlow 2s ease-in-out infinite;
}

/* Smoking Table Styling */
.visual-smoking-table {
  background-color: #8b7355;
  border: 3px solid #5a4a3a;
  padding: 12px;
  margin: 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.smoking-recipe-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 0 0 12px 0;
}

.smoking-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.smoking-input,
.smoking-result {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.visual-smoking-table .crafting-slot {
  width: 44px !important;
  height: 44px !important;
  border: 2px solid #3d3d3d !important;
  background-color: #8b8680 !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5) !important;
}

.smoking-input .crafting-slot,
.smoking-result .crafting-slot {
  width: 48px !important;
  height: 48px !important;
}

.smoking-input .crafting-slot img,
.smoking-result .crafting-slot img,
.smoking-input .crafting-slot .no-item-image,
.smoking-result .crafting-slot .no-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.smoking-arrow {
  color: #8b8680;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: linear-gradient(90deg, #8b8680 0%, #a59a8f 50%, #8b8680 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smokeFlow 2s ease-in-out infinite;
}

.smoking-arrow.smoking-fire {
  font-size: 28px;
  animation: fireFlicker 1.5s ease-in-out infinite;
  -webkit-text-fill-color: unset;
  background: none;
}

@keyframes fireFlicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes smokeFlow {
  0% {
    background-position: 200% 0;
  }
  50% {
    background-position: 0 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Blasting Stats Styling */
.recipe-ingredients-bottom {
  margin-top: 0;
}

.recipe-ingredients-bottom.recipe-stats {
  background: #c9bcbb;
  border: 2px solid #000000;
  padding: 12px;
  margin: 0;
  width: fit-content;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.3), inset -2px -2px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  flex-direction: row;
  gap: 16px;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.recipe-ingredients-bottom.recipe-stats::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  right: 20px;
  height: 12px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 12"><path d="M0,6 Q5,2 10,6 T20,6 T30,6 T40,6 T50,6 T60,6 T70,6 T80,6 T90,6 T100,6" stroke="%238b7355" stroke-width="1.5" fill="none"/></svg>') repeat-x;
  background-size: 10px 12px;
}

.recipe-ingredients-bottom.recipe-stats::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  right: 20px;
  height: 12px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 12"><path d="M0,6 Q5,10 10,6 T20,6 T30,6 T40,6 T50,6 T60,6 T70,6 T80,6 T90,6 T100,6" stroke="%238b7355" stroke-width="1.5" fill="none"/></svg>') repeat-x;
  background-size: 10px 12px;
}

.recipe-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.4);
  padding: 8px 12px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  border-radius: 1px;
  flex: 1;
  min-height: 50px;
}

.recipe-stat-item .stat-label {
  color: #5c4a3a;
  min-width: 120px;
  font-weight: 900;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.recipe-stat-item .stat-value {
  color: #3d2817;
  font-weight: 900;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.experience-bar {
  flex: 1;
  min-width: 90px;
  height: 28px;
  background: #d4c5b9;
  border: 3px solid #8b7355;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 
    inset 1px 1px 0 rgba(255,255,255,0.6), 
    inset -1px -1px 0 rgba(0,0,0,0.3),
    3px 3px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.experience-fill {
  height: 100%;
  background: linear-gradient(90deg, #71b953 0%, #5a9a3f 50%, #4a8a30 100%);
  width: var(--exp-value, 0%);
  transition: width 0.6s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
  position: relative;
  display: none;
}

.experience-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.exp-text {
  position: absolute;
  font-size: 10px;
  font-weight: bold;
  color: #000;
  z-index: 1;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  min-width: 45px;
  text-align: center;
}

/* Crafting/Recipes Section Header */
.recipes-section {
  background-color: #f3ede1;
  border: 2px solid #000;
  padding: 12px 16px;
  margin: 12px 16px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.recipes-section > h2 {
  color: #333;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 12px 0;
  border-bottom: 2px solid #8B6F47;
  padding-bottom: 8px;
}

/* Recipe Dropdown Menu */
.recipe-dropdown-menu {
  position: relative;
}

.action-dropdown {
  flex: 1;
}

.recipe-dropdown-toggle {
  background-color: #e8dcc8;
  border: 2px solid #8B6F47;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s;
  width: 100%;
}

.recipe-dropdown-toggle:hover {
  background-color: #dccf1a;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.dropdown-arrow {
  margin-left: auto;
  transition: transform 0.3s;
}

.recipe-dropdown-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

.recipe-dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff9f0;
  border: 2px solid #8B6F47;
  border-top: none;
  border-radius: 0 0 3px 3px;
  min-width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
}

.recipe-dropdown-content.show {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #e8dcc8;
  transition: all 0.2s;
  display: block;
}

.dropdown-item:hover {
  background-color: #e8dcc8;
  padding-left: 20px;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.recipe-type-section {
  background-color: #f3ede1;
  border: 2px solid #000;
  border-radius: 0;
  padding: 12px;
  margin: 0 12px 12px 12px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.recipe-type-title {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 12px 0;
  padding: 8px 0;
  border-bottom: 2px solid #d4c5a9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recipe-notification {
  display: inline-block;
  margin-left: 0;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #e8dcc8;
  border: 1px solid #8B6F47;
  color: #5a4a3a;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.2);
  cursor: help;
}

.shaped-badge {
  background-color: #e8dcc8;
  color: #5a4a3a;
  border: 1px solid #8B6F47;
}

/* Fuel Sources Section */
.fuel-sources-section {
  background-color: #f3ede1;
  border: 2px solid #000;
  border-radius: 0;
  padding: 16px;
  margin: 12px;
  margin-bottom: 12px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.fuel-sources-section h2 {
  color: #333;
  font-size: 18px;
  margin: 0 0 8px 0;
  font-weight: bold;
  border-bottom: 2px solid #8B6F47;
  padding-bottom: 8px;
}

.fuel-intro {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.fuel-item-wrapper {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 12px;
}

.fuel-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}

.fuel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #c9bcbb;
  border: 2px solid #000;
  border-radius: 0;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5), 2px 2px 0 rgba(0,0,0,0.3);
  position: relative;
}

.fuel-card:hover {
  background-color: #d4c5a9;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5), 4px 4px 0 rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.fuel-image {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.2));
}

.fuel-name {
  font-size: 12px;
  font-weight: 600;
  color: #3d2817;
  text-align: center;
  margin: 0;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}

.smelt-count {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background-color: #d4825c;
  padding: 3px 6px;
  border-radius: 0;
  border: 1px solid #a0613f;
  text-align: center;
  letter-spacing: 0.2px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.3);
  display: block;
}

/* Fuel Popup */
#fuelPopup {
  display: none;
  position: fixed;
  background-color: #fff9f0;
  border: 2px solid #d4c5a9;
  border-radius: 8px;
  padding: 12px;
  min-width: 280px;
  max-width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  pointer-events: auto;
}

#fuelPopup h3 {
  color: #5a4a3a;
  font-size: 16px;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #d4c5a9;
}

.fuel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fuel-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fef6ec;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e8dcc8;
}

.fuel-list-image {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}

.fuel-list-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.fuel-list-name {
  font-size: 13px;
  font-weight: 600;
  color: #5a4a3a;
}

.fuel-list-time {
  font-size: 12px;
  color: #8B6F47;
  font-weight: 500;
}

.shapeless-badge {
  background-color: #e8dcc8;
  color: #5a4a3a;
  border: 1px solid #8B6F47;
}

.recipes-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 12px;
  padding: 0;
  width: auto;
  overflow: visible;
}

.recipe-card {
  flex-shrink: 0;
  display: block;
  width: fit-content;
}

.recipe-type-header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.recipe-type-header h4 {
  display: flex;
  align-items: center;
  margin: 0;
}

.recipe-header-icon {
  width: 44px;
  height: 44px;
  margin-right: 8px;
  border: 2px solid #3d3d3d;
  padding: 0;
  background-color: #a89880;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  flex-shrink: 0;
  display: block;
}

/* Craftable Section - Grid Cards */
.craftable-section {
  background-color: #f3ede1;
  border: 2px solid #000;
  padding: 12px 16px;
  margin: 12px 16px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.craftable-section h2 {
  color: #333;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 12px 0;
  border-bottom: 2px solid #8B6F47;
  padding-bottom: 8px;
}

.craftable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.craftable-grid .block-item {
  background-color: #fff;
  border: 2px solid #000;
  padding: 8px;
  text-decoration: none;
  color: #333;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  transition: all 0.1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.craftable-grid .block-item:hover {
  background-color: #f9f9f9;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  transform: translate(2px, 2px);
}

.craftable-grid .block-image {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f0;
  border: 1px solid #ddd;
  margin-bottom: 6px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.5);
}

.craftable-grid .block-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.craftable-grid .block-name {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  word-break: break-word;
}

/* Properties Section */
.properties-section {
  background-color: #f3ede1;
  border: 2px solid #000;
  padding: 12px 16px;
  margin: 12px;
  width: auto;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.block-properties {
  width: 100%;
}

.block-properties h2 {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px 0;
  border-bottom: 2px solid #8B6F47;
  padding-bottom: 6px;
}

.block-properties ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}

.block-properties li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #ddd;
  font-size: 13px;
  background-color: #fff;
  box-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

.block-properties li:last-child {
  border-bottom: 1px solid #ddd;
}

.block-properties li span {
  color: #333;
  font-weight: 500;
  margin-right: 8px;
}

.block-properties .property-status {
  padding: 4px 8px;
  border-radius: 0;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  min-width: 80px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  text-transform: uppercase;
}

.block-properties .property-status.info {
  background-color: #8bb8d9;
  color: #fff;
  border-color: #000;
}

.block-properties .property-status.enabled,
.block-properties .property-status.yes {
  background-color: #66bb6a;
  color: #fff;
  border-color: #000;
}

.block-properties .property-status.disabled,
.block-properties .property-status.no {
  background-color: #d97676;
  color: #fff;
  border-color: #000;
}

/* Crafting Table with Output on Right - REMOVED CONFLICTING RULE */

.crafting-section-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crafting-table-input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 200px;
  margin-top: 8px;
}

.crafting-table-input .crafting-slot {
  width: 64px;
  height: 64px;
}

.crafting-table-slot {
  width: 64px !important;
  height: 64px !important;
  background-color: #8b8680 !important;
  border: 2px solid #3d3d3d !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5) !important;
  cursor: pointer !important;
  transition: all 0.1s !important;
}

.crafting-table-slot:hover {
  background-color: #9a9590 !important;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.4), inset -1px -1px 0 rgba(0,0,0,0.6) !important;
}

.crafting-output-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 200px;
  margin-top: 8px;
}

.crafting-output-result .crafting-slot {
  width: 64px;
  height: 64px;
}

/* Armor Stats Section */
.armor-stats {
  background-color: #97948f;
  border: 2px solid #000;
  padding: 16px;
  margin: 12px 16px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.armor-stats h3 {
  font-size: 14px !important;
  color: #000 !important;
  margin: 0 0 12px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  font-weight: bold !important;
}

.armor-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.armor-stats li {
  background-color: #dbd7d0;
  border: 2px solid #000;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  font-size: 13px;
}

/* Weapon Stats Section */
.weapon-stats-section {
  background-color: #97948f;
  border: 2px solid #000;
  padding: 16px;
  margin: 12px 16px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.weapon-stats-section h3 {
  font-size: 14px !important;
  color: #000 !important;
  margin: 0 0 12px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  font-weight: bold !important;
}

/* Food Stats Section */
.food-stats-section {
  background-color: #97948f;
  border: 2px solid #000;
  padding: 16px;
  margin: 12px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  width: auto;
}

.food-stats-section h3 {
  font-size: 14px !important;
  color: #000 !important;
  margin: 0 0 12px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  font-weight: bold !important;
}

.stat-header {
  margin-bottom: 12px;
}

/* Edition Tabs */
.stat-edition-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: none;
  flex-wrap: wrap;
}

.stat-edition-btn {
  padding: 6px 10px;
  background-color: #e8f1ef;
  border: 3px solid #000;
  color: #000;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.05s;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.stat-edition-btn:hover {
  background-color: #b8a89c;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.stat-edition-btn.active {
  background-color: #71b953;
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.stat-edition-btn.active:hover {
  background-color: #5fa13d;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

/* Edition Panels */
.stat-edition-panel {
  display: none;
}

.stat-edition-panel.active {
  display: block;
}

/* Stats Grid */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-item {
  background-color: #dbd7d0;
  border: 2px solid #000;
  padding: 12px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.stat-label {
  font-size: 11px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 16px;
  font-weight: bold;
  color: #2d2d2d;
  word-break: break-word;
}

/* No Recipes Message */
.no-recipes-message {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.no-recipes-message p {
  margin: 0;
  font-size: 16px;
  color: #000;
  font-weight: 500;
  text-align: center;
}

.stat-effects {
  border-left: 4px solid #8b4789;
  grid-column: 1 / -1;
}

.stat-effects .stat-value {
  font-size: 12px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Enchantments Grid */
.enchantments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.enchantment-card {
  background-color: #97948f;
  border: 2px solid #000;
  padding: 12px;
  text-align: center;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.enchantment-card .enchant-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.enchantment-card h4 {
  font-size: 12px !important;
  color: #000 !important;
  margin: 0 !important;
  font-weight: bold !important;
  text-align: center;
}

.enchantment-card p {
  font-size: 11px !important;
  color: #333 !important;
  margin: 0 !important;
  line-height: 1.3;
  text-align: center;
}

/* Edition Tabs (Java/Bedrock) - Navbar Style */
.edition-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: none;
}

.edition-tab {
  padding: 6px 10px;
  background-color: #e8f1ef;
  border: 3px solid #000;
  color: #000;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.05s;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.edition-tab:hover {
  background-color: #b8a89c;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.edition-tab.active {
  background-color: #71b953;
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.edition-tab.active:hover {
  background-color: #5fa13d;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

/* Bedrock tab different color when active - Red instead of Green */
.bedrock-tab.active {
  background-color: #e74c3c !important;
  color: #fff !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
}

.bedrock-tab.active:hover {
  background-color: #c0392b !important;
  transform: translate(2px, 2px) !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3) !important;
}

.edition-content {
  display: none;
}

.edition-content.active {
  display: block;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
  .body {
    padding-top: 50px;
  }

  .container {
    max-width: 100% !important;
    margin: 0 !important;
    flex-direction: column;
    padding: 12px !important;
  }

  .main-content {
    padding: 0;
    border: 2px solid #000;
  }

  .welcome-section {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .welcome-hero h1 {
    font-size: 16px;
  }

  /* Welcome Section Header Mobile Improvements */
  .welcome-section-header {
    margin: 12px 12px !important;
    padding: 8px !important;
  }

  .welcome-section-header .header-content {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  .welcome-section-header .block-image {
    width: 80px !important;
    height: 80px !important;
  }

  .welcome-section-header h1 {
    font-size: 16px !important;
  }

  .welcome-section-header h2 {
    font-size: 14px !important;
    padding: 8px !important;
  }

  .welcome-section-header > .header-content > .header-text > p {
    font-size: 11px !important;
  }

  .welcome-search {
    flex-direction: column;
  }

  .welcome-search input,
  .welcome-search button {
    width: 100%;
  }

  .blocks-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .block-item {
    padding: 10px;
    min-height: auto;
  }

  .block-image {
    min-height: 56px;
  }

  .block-image img {
    width: 48px;
    height: 48px;
  }

  .block-title {
    font-size: 11px;
  }

  .letter-link {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 28px;
  }

  /* Crafting Table Responsive */
  .visual-crafting-table {
    padding: 8px;
    margin: 8px 0;
  }

  .crafting-grid {
    grid-template-columns: repeat(3, 48px);
    gap: 4px;
    padding: 4px;
  }

  /* Blasting Table Responsive */
  .visual-blasting-table {
    padding: 8px;
    margin: 8px 0;
    gap: 8px;
  }

  .blasting-input .crafting-slot,
  .blasting-result .crafting-slot {
    width: 48px;
    height: 48px;
  }

  .crafting-slot {
    width: 48px;
    height: 48px;
  }

  .crafting-arrow {
    display: none !important;
  }

  .crafting-output {
    width: 48px;
    height: 48px;
  }

  /* Grid Sections Responsive */
  .armor-stats ul {
    grid-template-columns: 1fr;
  }

  .enchantments-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  .enchantment-card {
    padding: 10px;
  }

  .enchantment-card .enchant-img {
    width: 28px;
    height: 28px;
  }

  .enchantment-card h4 {
    font-size: 11px !important;
  }

  .enchantment-card p {
    font-size: 10px !important;
  }

  /* Edition Tabs Responsive */
  .edition-tabs {
    gap: 4px;
    margin-bottom: 12px;
  }

  .edition-tab {
    padding: 6px 12px;
    font-size: 11px;
  }

  /* Recipe Ingredients Bottom / Stats Responsive */
  .recipe-ingredients-bottom.recipe-stats {
    flex-direction: column !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    gap: 12px !important;
  }

  .recipe-ingredients-bottom.recipe-stats::before,
  .recipe-ingredients-bottom.recipe-stats::after {
    display: none !important;
  }

  /* Recipe Containers Responsive - Stack on Mobile */
  .smelting-recipe-container,
  .campfire-recipe-container,
  .smoking-recipe-container,
  .smelting-recipe-wrapper,
  .campfire-recipe-wrapper,
  .smoking-recipe-wrapper,
  .blasting-recipe-wrapper {
    flex-direction: column !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: center !important;
  }

  .smelting-recipe-container > *,
  .campfire-recipe-container > *,
  .smoking-recipe-container > *,
  .smelting-recipe-wrapper > *,
  .campfire-recipe-wrapper > *,
  .smoking-recipe-wrapper > *,
  .blasting-recipe-wrapper > * {
    width: auto !important;
    max-width: 100% !important;
  }

  .visual-smelting-table,
  .visual-campfire-table,
  .visual-smoking-table,
  .visual-blasting-table {
    width: auto !important;
    max-width: 100% !important;
  }

  /* Blasting Container Responsive */
  .blasting-recipe-container {
    flex-direction: column !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .blasting-recipe-container > * {
    width: auto !important;
    max-width: 100% !important;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
  .body {
    padding-top: 50px;
  }

  .container {
    padding: 8px !important;
  }

  .main-content {
    padding: 0;
    border: 2px solid #000;
  }

  .welcome-section {
    padding: 12px;
    margin-bottom: 12px;
  }

  .welcome-hero h1 {
    font-size: 14px;
  }

  .welcome-hero p {
    font-size: 12px;
  }

  .blocks-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  .block-item {
    padding: 8px;
    min-height: auto;
    gap: 8px;
  }

  .block-image {
    min-height: 48px;
  }

  .block-image img {
    width: 40px;
    height: 40px;
  }

  .block-title {
    font-size: 10px;
  }

  .welcome-search {
    flex-direction: column;
    gap: 8px;
  }

  .welcome-search input,
  .welcome-search button {
    width: 100%;
    padding: 10px;
  }

  .alphabet-links {
    gap: 4px;
  }

  .letter-link {
    padding: 6px 8px;
    font-size: 11px;
    min-width: 24px;
  }

  /* Crafting Table Mobile */
  .visual-crafting-table {
    padding: 6px;
    margin: 6px 0;
  }

  .crafting-grid {
    grid-template-columns: repeat(3, 40px);
    gap: 3px;
    padding: 3px;
  }

  .crafting-slot {
    width: 40px;
    height: 40px;
  }

  .crafting-arrow {
    width: 20px;
    height: 20px;
  }

  .crafting-output {
    width: 40px;
    height: 40px;
  }

  /* Blasting Table Mobile */
  .visual-blasting-table {
    padding: 6px;
    margin: 6px 0;
    gap: 6px;
  }

  .blasting-input .crafting-slot,
  .blasting-result .crafting-slot {
    width: 40px;
    height: 40px;
  }

  .blasting-arrow {
    font-size: 18px;
    min-height: 40px;
  }

  /* Grid Sections Mobile */
  .armor-stats {
    padding: 12px;
    margin: 8px 0;
  }

  .armor-stats li {
    padding: 10px;
    font-size: 12px;
  }

  .armor-stats ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .enchantments-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
    margin-top: 12px;
  }

  .enchantment-card {
    padding: 8px;
  }

  .enchantment-card .enchant-img {
    width: 24px;
    height: 24px;
  }

  .enchantment-card h4 {
    font-size: 10px !important;
  }

  .enchantment-card p {
    font-size: 9px !important;
  }

  /* Edition Tabs Mobile */
  .edition-tabs {
    gap: 3px;
    margin-bottom: 10px;
  }

  .edition-tab {
    padding: 5px 10px;
    font-size: 10px;
    border: 2px solid #000;
  }

  /* Hide arrows on mobile */
  .crafting-arrow {
    display: none !important;
  }
}

/* Item.php Inline CSS Classes */

/* Crafting table and item layout */
.crafting-layout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* Header content layout */
.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding: 12px;
}

.header-content .block-image {
  flex-shrink: 0;
}

.header-text {
  flex: 1;
}

.header-text h1 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #000;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

/* Minecraft item/block image styling */
.minecraft-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.minecraft-link {
  cursor: pointer;
  text-decoration: none;
}

/* Minecraft block container images (furnace, campfire, smoker, stonecutter) */
.minecraft-block-img {
  width: 44px;
  height: 44px;
  border: 2px solid #3d3d3d;
  background-color: #8b8680;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  display: block;
}

.stonecutter-img {
  width: 44px;
  height: 44px;
  border: 2px solid #3d3d3d;
  background-color: #8b8680;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 0 rgba(0,0,0,0.5);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  display: block;
  padding: 2px;
}

/* Small icon images (chest, enchanting table, piglin) */
.small-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

/* No image placeholder */
.no-image-placeholder {
  color: #999;
  font-size: 0.9rem;
  text-align: center;
}

/* Notification Toast */
#notificationContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification {
  padding: 16px 20px;
  border-radius: 0;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  font-size: 14px;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
  animation: slideInRight 0.3s ease-out;
  max-width: 400px;
  word-wrap: break-word;
}

.notification-success {
  background-color: #2ecc71;
  color: #000;
  border-color: #27ae60;
}

.notification-error {
  background-color: #e74c3c;
  color: #fff;
  border-color: #c0392b;
}

.notification.fade-out {
  animation: slideOutRight 0.3s ease-in;
  opacity: 0;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 600px) {
  #notificationContainer {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  
  .notification {
    max-width: 100%;
  }
}

/* Report Modal */
.report-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.report-dropdown.active {
  display: flex;
}

.report-dropdown .modal-content {
  background-color: #b8a89c;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  max-width: 500px;
  width: 90%;
  padding: 24px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

.modal-close-btn:hover {
  color: #cc0000;
}

.report-dropdown .report-modal-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
}

.report-modal-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.2 !important;
}

.report-modal-intro {
  margin-bottom: 16px;
}

.report-modal-intro p {
  font-size: 14px !important;
  color: #666 !important;
  margin: 0 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.4 !important;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
}

.form-input {
  width: 100% !important;
  padding: 12px !important;
  font-size: 14px !important;
  border: 2px solid #000 !important;
  background-color: #fbfbfa !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000 !important;
}

.form-input:focus {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.form-group select,
.form-group textarea {
  width: 100% !important;
  padding: 12px !important;
  font-size: 14px !important;
  border: 2px solid #000 !important;
  background-color: #fbfbfa !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000 !important;
  resize: vertical !important;
}

.form-group textarea:focus,
.form-group select:focus {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.form-buttons .btn {
  display: inline-block;
  padding: 6px 10px;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.05s;
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
}

.form-buttons .btn-primary {
  background-color: #2ecc71;
  color: #000;
}

.form-buttons .btn-primary:hover {
  background-color: #27ae60;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
  transform: translate(-2px, -2px);
}

.form-buttons .btn-secondary {
  background-color: #e74c3c;
  color: #fff;
}

.form-buttons .btn-secondary:hover {
  background-color: #c0392b;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
  transform: translate(-2px, -2px);
}

