/* Styles for display_nfts_shortcode */
.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.nft-grid .product {
    background-color: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 15px;
    color: #ffffff;
}

.nft-grid .product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

.nft-grid .product h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.nft-grid .price {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.nft-grid .buy-now {
    background-color: #ffc107;
    color: #000000;
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    font-size: 16px;
}

/* Styles for display_all_minted_nfts_shortcode */
.minted-nft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: #000000 ;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-info {
    padding: 15px;
    flex-grow: 1;
}

.product-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: white;
}

.description {
    font-size: 14px;
    color: white;
    margin-bottom: 10px;
}

.owner-info {
    font-size: 12px;
    color: white;
    word-break: break-all;
}

.offer-form {
    padding: 15px;
    background-color:black;
    border-top: 1px solid #e0e0e0;
}

.offer-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid white;
    border-radius: 4px;
}

.create-offer {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 20px;

}

.create-offer:hover {
    background-color: #45a049;
}

@media (max-width: 1024px) {
    .minted-nft-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .minted-nft-grid {
        grid-template-columns: 1fr;
    }
}

#qr-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
    text-align: center; /* Center the content */
}

#qr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#qr-popup img {
    max-width: 100%;
    height: auto;
}

#qr-popup button {
    margin-top: 10px;
}

/* Custom alert styles */
#custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
    text-align: center; /* Center the content */
}

#custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#custom-alert button {
    margin-top: 10px;
}
.offers-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.offers-table th, .offers-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.offers-table th {
    background-color: #f2f2f2;
    text-align: left;
}

.cancel-offer {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.view-offer {
    color: #4CAF50;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.cancel-offer:hover {
    background-color: #ff1a1a;
}

.accept-offer {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.accept-offer:hover {
    background-color: #45a049;
}

.minted-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.minted-products-grid .product {
    border: 1px solid #ddd;
    padding: 10px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
}

.minted-products-grid .product-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.minted-products-grid h3 {
    margin: 10px 0;
}

.minted-products-grid .price {
    color: #4CAF50;
}