/* Inventory styles */
.user-nfts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nft-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* .nft-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
} */

.nft-card h3 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.2em;
}

.nft-card p {
    color: var(--secondary-text-color);
    font-size: 0.85em;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}


.nfts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.nft-item {
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    width: 150px;
    background-color: var(--card-bg-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nft-item img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 3px;
}

.nfts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.nft-item {
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    width: 150px;
    background-color: var(--card-bg-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nft-item img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 3px;
}


.nft-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* .nft-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
} */

.nft-card h3 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.2em;
}

.nft-card p {
    color: var(--secondary-text-color);
    font-size: 0.85em;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

/* My Stickers View */
.my-stickers-view {
  padding: 0px 20px 20px 20px;
  /* text-align: center; */ /* Убираем центрирование для всей секции */
}

.sell-all-button-icon{
    transform: translateY(-2px); /* Поднимаем значок немного выше */
}
.no-nfts-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-color);
}

.no-nfts-image {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.no-nfts-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.get-nfts-button {
    width: 40%;
  background-color: white;
  color: black;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* .get-nfts-button:hover {
  background-color: #f0f0f0;
} */


.sell-all-button {
  width: 100%;
  padding: 10px;
  font-size: 1.2em;
  color: #F5A124;
  background-color: #2C2915; /* Changed to red for consistency with sell button */
  border: none;
  border-radius: 15px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

/* .sell-all-button:hover {
  /* background-color: #c82333; Darker red on hover */


.nfts-wrapper {
  background-color: #1a1a1a; /* Changed to match caseDetail background */
  border-radius: 10px;
  padding: 20px;
}

.nfts-wrapper h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.nft-container {
    position: relative;
}


.nft-item {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    border: none;
    outline: none;
    padding: 0px;
    overflow: hidden;
    width: 120px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nft-content-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0px;
}

.nft-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 15px 15px 0 0; */
}

.nft-id-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 8px;
    color: white;
    font-size: 0.7em;
    z-index: 1;
}

.nft-name {
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: center;
    font-weight: 500;
    color: white;
    font-size: 0.9em;
    line-height: 1.2;
    height: 2.4em; /* 2 lines of text */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.nft-price-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 9999px;
    padding: 4px 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 1;
    font-size: 0.7em;
    box-sizing: border-box;
    position: absolute;
    bottom: 8px;
}

.nft-price-ton-icon {
    transform: translateY(-2px); /* Поднимаем значок немного выше */
}

.nft-count-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #2D2D2D; /* Пример цвета фона */
    color: #969696;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin-left: 8px;
    vertical-align: middle;
}


.ton-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nft-menu-circle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(255, 255, 255, 0.1); /* Белый с прозрачностью 10% */
    backdrop-filter: blur(5px); /* Эффект размытия */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.nft-menu-icon {
    margin: 10px;;
    width: 16px;
    height: 16px;
    z-index: 20;
    /* filter: invert(1); Делаем иконку белой */
}

/* NFT Menu Modal Styles */
.nft-menu-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nft-menu-modal-content {
    background-color: #252525;
    padding: 20px;
    border-radius: 20px;
    /* box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1); */
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-55%);
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    z-index: 1001;
    animation: slideInUp 0.3s ease-out forwards;
}

@keyframes slideInUp {
    from {
        transform: translate(-50%, 100%);
    }
    to {
        transform: translate(-50%, 0);
    }
}


.close-icon {
    position: absolute;
    /* top: 10px; */
    right: 20px;
    font-size: 17px;
    cursor: pointer;
    color: #FFf;
    z-index: 1002;
}

.inv-modal-transfer-text {
    font-size: 18px;
    margin-left: -11px;
    background: linear-gradient(180deg, #FFFFFF, #E38FDF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}

.nft-menu-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.modal-button {
    background-color: transparent;
    border: none;
    color: #333;
    padding: 4px 4px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.modal-button img {
    height: 20px;
    margin-right: 8px;
}

.sell-button {
    background-color: #252525; /* Green */
}
/* 
.sell-button:hover {
    background-color: #252525;
} */

.transfer-button {
    background-color: #252525; /* Blue */
}

/* .transfer-button:hover {
    background-color: #252525;
} */

.close-button {
    background-color: #f44336; /* Red */
    margin-top: 20px;
}

/* .close-button:hover {
    background-color: #da190b;
} */

.harbor-market-icon {
    scale: 1.17;
    height: 20px; /* Adjust size as needed */
    margin-right: 8px;
}

.noNFT-subtitle {
    margin-top: -15px;
    width: 90%;
    color: #aaa;
    font-size: 18px;
}

.noNFT-title {
    /* margin-top: -5px; */
    width: 90%;
    color: #fff;
    font-size: 20px;
}

.inv-modal-info-text{
    color: #fff;
    font-size: 18px;
}

.inv-modal-price-text{
    color: #fff;
    font-size: 18px;
    transform: translateX(-13px);
}