/* styles.css - General layout only */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


main {
    padding: 5px;
}
.nft-type-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    margin: 4px 0;
}

.nft-type {
    font-weight: 500;
}

.rev-share-badge {
    cursor: help;
    font-size: 1.1em;
}

/* Category-specific styling */
.category-country {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.category-item {
    background: #f3e5f5;
    border-left: 4px solid #9c27b0;
}

.category-sub {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.collection {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.item {
    background: #fafafa;
    border-left: 4px solid #9e9e9e;
}

.category-system {
    background: #efebe9;
    border-left: 4px solid #795548;
}
footer {
    background-color: #333;
    color: #fff;
    padding: 5px;
    text-align: center;
}

/* Burned NFT Styling */
.burned-nft {
    opacity: 0.7;
}

.burned-nft .image-container {
    position: relative;
}

.burned-nft .image-container.burned img,
.burned-nft img.burned {
    filter: grayscale(100%);
    opacity: 0.6;
}

.burned-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
    pointer-events: none;
}

.burned-status {
    color: #d32f2f;
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

/* Not For Sale Styling */
.not-for-sale-marker {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 10px;
}

.not-for-sale-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #ff9800;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    z-index: 5;
}
/* Searchable select — wraps search input + select as a paired inline unit */
.select-with-search {
    display: inline-flex;
    flex-direction: column;
    margin-right: 10px;
    vertical-align: top;
}
.select-with-search select {
    margin-right: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}
.select-search-input {
    padding: 5px 8px;
    font-size: 0.85em;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    outline: none;
    min-width: 0;
}
.select-search-input::placeholder { color: #aaa; font-style: italic; }
.select-search-input:focus { border-color: #999; }


/* ── Country flag images (shared across gallery, profile, owner-gallery) ── */
.country-flag-img {
    width: 36px;
    height: 26px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.12);
    display: block;
}

/* Flag badge overlaid on NFT card image (bottom-left corner) */
.nft-flag-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    line-height: 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.image-container {
    position: relative;
}
