body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #e0e0e0;}

.content-wrapper {
    width: 1285px;
    margin: 50px auto 0;
    display: flex;
    gap: 20px;}

.main-content {
    width: 910px;
    display: flex;
    flex-direction: column;
    gap: 20px;}

.top-row {
    display: flex;
    gap: 20px;
    min-height: 500px;
    height: 500px;
}

.top-nav {
    background-color: #2d2d2d;
    padding: 15px 0;
    border-bottom: 1px solid #444;}

.nav-container {
    width: 1285px;
    margin: 0 auto;
    display: flex;
    align-items: center;}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin-right: 30px;}

.nav-links {
    display: flex;
    gap: 20px;}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;}

.artifact-list-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    background-color: #3a3a3a;
    border-radius: 6px;
    width: 450px;}

.edit-btn .copy-btn .remove-btn {
    display: none;
    position: absolute;
    right: 0px;
    gap: 15px;
    padding: 6px 10px;
    border-radius: 6px;
}

.copy-btn:hover {
color: #4CAF50;
}

.edit-btn:hover {
color: #2196F3;
}

.remove-btn:hover {
color: red;
}

.artifact-properties {
    width: 550px;
    background-color: #3a3a3a;
    padding: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;}

.artifact-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    overflow: hidden;}

  .artifact-list-column {
    flex: 1;
    min-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

.artifact-preview {
    display: flex;
    flex-direction: column;
    background-color: #3a3a3a;
    border-radius: 6px;
    padding: 15px;}

.artifact-image {
    text-align: center;
    margin-bottom: 15px;}

.artifact-image img {
    max-width: 100px;
    max-height: 100px;}

.artifact-stats {
    flex-grow: 1;
    margin-bottom: 15px;}

.artifact-button-container {
    position: relative;
    width: 350px;
    height: 60px;
    margin-bottom: 10px;
    flex: 1 1 auto;
    min-height: 40px;}

.artifact-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;}

.artifact-image-display {
    text-align: center;}

.artifact-image-display img {
    max-width: 100px;
    max-height: 100px;}

.artifact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;}

.artifact-display {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;}

.artifact-display.show {
    opacity: 1;
    max-height: 500px;}

.artifact-name {
    flex-grow: 1;
    text-align: center;}

.artifact-text {
    pointer-events: none;
    margin-right: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding-left: 10px;
    display: block;
    margin-bottom: 4px;
}

.artifact-actions {
    display: flex;
    position: absolute;
    right: 0px;
    gap: 15px;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 2;
    margin-top: 6px;
    flex-wrap: nowrap;
}

.empty-slot.locked .artifact-actions {
    display: flex;
    align-items: center;}

.empty-slot.locked:hover .artifact-actions {
    display: flex;
    animation: fadeIn 0.2s ease;}

.copy-mode .artifact-actions {
    pointer-events: none;}

.artifact-list-main,
.artifact-properties,
.final-stats {
  flex: 1;
  min-width: 0;
}

.armor-select {
    width: 880px;
    height: 200px;
    background-color: #3a3a3a;
    padding: 15px;
    border-radius: 6px;
    position: relative;
    display: inline-block;
    margin-top: 20px;}

.armor-button-wrapper {
  position: relative;
  display: inline-block;}

.armor-icon-wrapper {
  position: absolute;
  margin-top: 15pt;
  left: 45%;
  width: 128px;
  height: 100px;
  display: none;
  pointer-events: none;
  margin-bottom: 8px;
}

.armor-button {
    height: 30px;
    background-color: #444;
    color: #aaa;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 150px;
    margin-left: 95px;
}


.container-select {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.select-container-btn {
    background-color: #2d2d2d;
    color: #e0e0e0;
    padding: 0 20px;
    border-radius: 10px;
    height: 65px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: background 0.2s ease, transform 0.2s ease;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.select-container-btn:hover {
    background-color: #3a3a3a;
    transform: translateY(-1px);
}

.selected-container-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    min-width: 260px;
}

.selected-container-card:hover {
    background-color: #3a3a3a;
    transform: translateY(-1px);
}

.container-card-icon {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.container-card-label {
    white-space: nowrap;
}

.container-preview {
    flex: 0 0 auto;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ccc;
    padding: 0 10px;
}

.container-info {
    display: flex;
    gap: 12px;
    font-weight: 500;
    color: #fff;
}

#containerSlots,
#containerDefense {
    font-size: 14px;}

.container-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.final-stats {
    width: 380px;
    height: 740px;
    background-color: #3a3a3a;
    padding: 15px;
    border-radius: 6px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.7);
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }

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

  .input-line {
    margin-bottom: 20px;
}

.filter-title {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.search-input {
    width: 529px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #3a3a3a;
    color: white;
}

.empty-slot {
    background-color: #444;
    color: #fff;
    border: none;
    display: flex;
    justify-content: center;
    height: 100%;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 20px;
    cursor: pointer;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
}

#selectedArmorIcon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h2 {
    color: #fff;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
}

.title-block .title {
    font-size: 24px;
    font-weight: bold;
    color: white;
  }

.close-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
}

.close-btn:hover {
    color: white;
}

  .filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.select-menu {
    flex: 1;
}

.custom-select {
    position: relative;}

.select-header {
    padding: 10px;
    background-color: #3a3a3a;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-options {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #3a3a3a;
    border: 1px solid #444;
    border-radius: 4px;
    margin-top: 5px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.option-search {
    width: calc(100% - 20px);
    padding: 8px 10px;
    margin: 5px;
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 4px;
    color: white;
}

.option {
    padding: 8px 10px;
    cursor: pointer;
}

.option:hover {
    background-color: #444;
}

.search-results {
    margin-bottom: 20px;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item {
    padding: 10px;
    background-color: #3a3a3a;
    border-radius: 4px;
    cursor: pointer;
}

.item:hover {
    background-color: #444;
}

.old-name {
    color: #aaa;
    font-size: 12px;
}

.item.selected {
    background-color: #4a90e2;
}

.empty-item {
    color: #aaa;
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #3a3a3a;
    border-radius: 4px;
    cursor: pointer;
}

.empty-icon {
    margin-right: 8px;
    font-size: 18px;
}

.empty-item:hover {
    background-color: #444;
}

.preview-column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-row {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
}

.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;}

.empty-slot.active {
    background-color: #4a90e2;
    color: white;}

.empty-slot.selected {
    background-color: #3a3a3a;
    border-left: 3px solid #4a90e2;}

#selectedArtifactNameDisplay {
    font-size: 20px;
    color: #fff;
    margin: 0;}

#selectedArtifactStatsDisplay {
    display: flex;
    flex-direction: column;
    gap: 8px;}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;}

.stat-name {
    color: #e0e0e0;
    font-size: 15px;
    flex: 1;}

.stat-value {
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    min-width: 50px;
    text-align: right;}

.empty-slot.locked {
    position: relative;
    background-color: #3a3a3a;
    border-left: 3px solid #4a90e2;
    padding-right: 30px;
}

.edit-icon:hover {
    color: #6ba8eb;
}

.empty-slot.locked {
    background-color: #3a3a3a;
    border-left: 3px solid #4a90e2;
}


.empty-slot.locked .edit-icon {
    display: block;
}

.empty-slot.locked {
    cursor: default;
}

.empty-slot.locked:hover {
    background-color: #3a3a3a;
}

.empty-slot.locked .edit-icon {
    display: block;
}

.empty-slot.locked:hover .edit-icon {
    color: #6ba8eb;
}

.copy-icon:hover {
    color: #4CAF50;
}

.delete-icon:hover {
    color: #f44336;
}

.edit-icon:hover {
    color: #2196F3;
}

#targetSlotModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.target-slot-content {
    background-color: #2d2d2d;
    margin: 100px auto;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
}

.target-slot-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.target-slot-title {
    font-size: 18px;
    color: white;
}

.target-slot-close {
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.target-slot-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copy-mode {
    background-color: rgba(76, 175, 80, 0.3) !important;
    border: 2px dashed #4CAF50 !important;
    cursor: copy !important;
    transform: scale(0.98);
    transition: transform 0.2s;
    box-shadow: 0 0 0 2px #4CAF50;
}

.copy-mode:hover {
    background-color: rgba(76, 175, 80, 0.5) !important;
    transform: scale(1);
}

#copy-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2d2d2d;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5)
}

to { opacity: 1;}

.copy-icon, 
.delete-icon, 
.edit-icon {
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(60, 60, 60, 0.7);
    position: relative;
    z-index: 1;
    gap: 12px;
    padding: 5px 8px;
}

.copy-icon:hover, 
.delete-icon:hover, 
.edit-icon:hover {
    transform: scale(1.1);
    background: rgba(80, 80, 80, 0.7);
}

.copy-icon:hover {
    color: #4CAF50;
}

.delete-icon:hover {
    color: #f44336;
}

.edit-icon:hover {
    color: #2196F3;
}

.stat-row.positive .stat-value {
    background-color: #2e7d32;
}

.stat-row.negative .stat-value {
    background-color: #7b1e1e;
}

.stat-row.special .stat-value {
    background-color: #1565c0;
}

.empty-slot.locked-slot {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
}

.empty-slot.locked-slot::after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
}

.empty-slot.locked-slot.copy-mode {
  pointer-events: none;
  box-shadow: none;
  border: none;
}


/* Планшеты и меньше */
@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
    width: 95%;
  }

  .main-content {
    width: 100%;
  }

  .artifact-list-main,
  .artifact-properties {
    width: 100%;
  }
}

/* iPad Mini*/
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 5px;
  }
  .nav-container {
    width: 100px;
    margin: 0 auto;
    display: flex
  }
  .armor-button {
    font-size: 16px;
    margin-left: 150px;
  }

  .artifact-display {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .artifact-image-display img {
    max-width: 100px;
  }

  .modal  {
    position: absolute;
    background-color: transparent;
  }

  .armor-button-wrapper {
    display: inline-block;
    position: static;
  }
}

/* Смартфоны */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 5px;
  }
  .nav-container {
    width: 100px;
    margin: 0 auto;
    display: flex
  }
  .armor-button {
    font-size: 16px;
    margin-left: 150px;
  }

  .artifact-display {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .artifact-image-display img {
    max-width: 100px;
  }

  .modal  {
    position: absolute;
    background-color: transparent;
  }

  .armor-button-wrapper {
    display: inline-block;
    position: static;
  }
}

/* Iphone SE*/
@media (max-width: 375px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 5px;
  }
  .nav-container {
    width: 100px;
    margin: 0 auto;
    display: flex
  }
  .armor-button {
    font-size: 16px;
    margin-left: 150px;
  }

  .artifact-display {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #openContainerModal {
    height: 50px;
    width: auto;
  }

  .artifact-image-display img {
    max-width: 100px;
  }

  .modal  {
    position: absolute;
    background-color: transparent;
  }

  .armor-button-wrapper {
    display: inline-block;
    position: static;
  }
  .modal-content {
    overflow: scroll;
    height: 950px;
  }
}

/* Iphone 14 Pro Max*/
@media (max-width: 430px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 5px;
  }
  .nav-container {
    width: 100px;
    margin: 0 auto;
    display: flex
  }
  .armor-button {
    font-size: 16px;
    margin-left: 150px;
  }

  .artifact-display {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .artifact-image-display img {
    max-width: 100px;
  }

  .modal  {
    position: absolute;
    background-color: transparent;
  }
  .armor-select {
    width: 100%;
  }
  .armor-button-wrapper {
    display: inline-block;
    position: static;
  }
}

button,
.armor-button,
.select-container-btn {
  background-color: #3b3b3b;
  border: 1px solid #555;
  padding: 10px 16px;
  color: #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

button:hover,
.select-btn:hover,
.armor-button:hover,
.select-container-btn:hover {
  background-color: #505050;
  border-color: #777;
}

.locked-slot {
  opacity: 0.4;
  cursor: not-allowed;
}

.artifact-button-container .empty-slot {
  background: #262626;
  border: 1px dashed #444;
  border-radius: 5px;
  padding: 8px;
  margin: 4px;
  transition: background 0.2s;
}

.artifact-button-container .empty-slot:hover:not(.locked-slot) {
  background: #333;
}

.artifact-image-display img,
.armor-icon-wrapper img,
.container-card-icon {
  border-radius: 8px;
}

.modal-header .title {
  font-size: 20px;
  font-weight: 600;
}

.items-list .item {
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.items-list .item:hover {
  background-color: #3b3b3b;
}

.items-list .item.selected {
  background-color: #505050;
  font-weight: bold;
}

.stat-value,
.artifact-stats p {
  font-weight: 500;
}

.artifact-stats p.positive {
  color: #64ff64;
}

.artifact-stats p.negative {
  color: #ff6464;
}

.stat-row .stat-value {
  margin-left: 8px;
}

*, *::before, *::after {
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-preview .info {
  flex: 1;
  flex-direction: column;
}

.select-btn {
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: auto;
  background-color: #2a608b;
  width: 245px;
  border: 1px solid #555;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.modal-content {
    background: #222;
    max-height: 90vh;
    background-color: #2b2b2b;
    border-radius: 10px;
    max-width: 900px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.2s ease-out;
    margin: 50px auto;
    padding: 20px;
    width: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 100, 100, 0.4) transparent;
}

.items-list .item {
  background: #333;
  color: white;
  padding: 6px 10px;
  margin-bottom: 4px;
  cursor: pointer;
  border-radius: 4px;
}

.items-list .item:hover {
  background: #444;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  color: white;
}

.modal-header input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background: #333;
  color: white;
  margin-bottom: 10px;
}

.modal-body .modal-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.artifact-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 6px;
}

.artifact-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}


.modal-body {
  display: flex;
  gap: 16px;
  height: 670px;
}

.modal-body .items-list {
  overflow-y: auto;
  padding-right: 6px;
}

.modal-body .modal-preview {
  padding: 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 0;
  height: fit-content;
  background-color: #3a3a3a;
  width: 260px;
}

:root {
  --var-bg-stat-green: rgba(0, 128, 0, 0.2);
  --var-bg-stat-red: rgba(255, 0, 0, 0.2);
}

#artifactsList {
  scrollbar-width: thin; /* для Firefox */
  scrollbar-color: rgba(100, 100, 100, 0.4) transparent;
  width: 274px;
}

/* WebKit-браузеры (Chrome, Safari, Edge) */
#artifactsList::-webkit-scrollbar {
  width: 8px;
}

#artifactsList::-webkit-scrollbar-track {
  background: transparent;
}

#artifactsList::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.5);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

#artifactsList::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 100, 100, 0.8);
}

#containerModal,
#armorModal {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(100, 100, 100, 0.4) transparent;
}

#containerModal::-webkit-scrollbar,
#armorModal::-webkit-scrollbar {
  width: 8px;
}

#containerModal::-webkit-scrollbar-track,
#armorModal::-webkit-scrollbar-track {
  background: transparent;
}

#containerModal::-webkit-scrollbar-thumb,
#armorModal::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.5);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

#containerModal::-webkit-scrollbar-thumb:hover,
#armorModal::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 100, 100, 0.8);
}

#containerList {
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 100, 100, 0.4) transparent;
}

#containerList::-webkit-scrollbar {
  width: 8px;
}

#containerList::-webkit-scrollbar-track {
  background: transparent;
}

#containerList::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.5);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

#containerList::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 100, 100, 0.8);
}

#containerModal .artifact-image {
  display: none;
}

.clear-container-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  color: #ff4b4b;
  border: 1px solid #ff4b4b;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
  z-index: 10;
}

.artifact-list-main {
  position: relative;
}

.modal.hidden {
  display: none;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cancel-btn {
  background: none;
  color: red;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.confirm-btn {
  background-color: #3ea145;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.confirm-btn:hover {
  background-color: #36893c;
}

#confirmClearContainer, #cancelClearContainer {
  margin-top: 20px;
}

#confirmClearContainer {
  margin-left: 83px;
  background-color: green;
  width: 150px; 
  height: 45px;
  font-size: 15px;
}

#cancelClearContainer{
  margin-left: 83px;
  width: 150px; 
  height: 45px;
  color: red;
  font-size: 15px;
}

.armor-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.armor-filters select {
  background-color: #2b2b2b;
  color: #f0f0f0;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 16px;
  flex: 1;
  appearance: none;
  cursor: pointer;
}


.armor-filters select:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 4px #666;
}

.armor-content-columns {
  display: flex;
  flex: 1;
  gap: 20px;
  overflow: hidden;
}

.armor-list-column,
.armor-preview-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  width: 50%;
}

#selectArmorBtn {
width: 230px;
}

.armor-preview-column {
      overflow-x: hidden;
      overflow-y: auto;
}

.modal-preview {
  overflow-y: auto;
  background-color: #2c2c2c;
  padding: 12px;
  border-radius: 8px;
}

#armorModal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.armor-filters {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.armor-content-columns {
  display: flex;
  flex: 1;
  gap: 20px;
  width: 100%;
}

#armorsList {
  flex: 1;
  overflow-y: auto;
  border-radius: 8px;
  scrollbar-width: thin;
}

.rarity-common       { border-left: 4px solid #A0A0A0; }
.rarity-uncommon     { border-left: 4px solid #138808; }
.rarity-rare         { border-left: 4px solid #3366FF; }
.rarity-epic         { border-left: 4px solid #CC66FF; }
.rarity-exceptional  { border-left: 4px solid #c1251a; }
.rarity-legendary    { border-left: 4px solid #ffc500; }
.rarity-unique       { border-left: 4px solid #33cccc; }

.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.filters select {
  background-color: #2b2b2b;
  color: #f0f0f0;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 16px;
  flex: 1;
  appearance: none;
  cursor: pointer;
}


.filters select:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 4px #666;
}