/* List NFT Page Styles */
.list-nft-header {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: var(--text-light);
    margin-bottom: var(--spacing-3xl);
}

.list-nft-header h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(45deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.list-nft-header p {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    font-size: var(--font-size-lg);
}

/* NFT Card Flip Styles */
.nft-selector {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.nft-card {
    width: 250px;
    height: 350px;
    position: relative;
    perspective: 1000px;
    cursor: pointer;
    margin: 0 auto;
}

.nft-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg);
}

.nft-card.flipped .nft-card-inner {
    transform: rotateY(180deg);
}

.nft-card-front,
.nft-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.nft-card-front {
    display: flex;
    flex-direction: column;
}

.nft-card-back {
    transform: rotateY(180deg);
    padding: var(--spacing-md);
}

.card-image {
    width: 100%;
    height: 75%;
    object-fit: cover;
}

.card-title {
    padding: var(--spacing-sm);
    color: var(--primary);
    font-weight: bold;
    font-size: var(--font-size-lg);
}

.card-status {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--secondary);
    color: var(--primary-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: bold;
}

.flip-arrow {
    position: absolute;
    bottom: var(--spacing-sm);
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: var(--font-size-xl);
    opacity: 0.7;
    transition: opacity var(--transition-normal);
}

.flip-arrow:hover {
    opacity: 1;
}

.card-details {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: left;
    padding: var(--spacing-sm);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--background);
}

.detail-label {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.detail-value {
    color: var(--primary);
    font-weight: bold;
    font-size: var(--font-size-sm);
}

/* Listing Options Styles */
.listing-options {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    margin-left: 1in; /* Move the element 1 inch from the left */
    margin-right: 1in; /* Move the element 1 inch from the right */
    box-shadow: var(--shadow-md);
}

.price-input {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.price-input input {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid var(--background);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-lg);
}

.price-input input:focus {
    border-color: var(--secondary);
    outline: none;
}

.trade-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: var(--background);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.toggle-switch.active {
    background: var(--secondary);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background: var(--background-light);
    border-radius: 13px;
    top: 2px;
    left: 2px;
    transition: all var(--transition-normal);
}

.toggle-switch.active::after {
    left: 32px;
}

.trade-preferences {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--background);
    border-radius: var(--border-radius-md);
}

.trade-preferences textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--background-light);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-md);
    resize: vertical;
    min-height: 100px;
}

.trade-preferences textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

/* Preview Section Styles */
.listing-preview {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    margin-left: 1in; /* Move the element 1 inch from the left */
    margin-right: 1in; /* Move the element 1 inch from the right */
    box-shadow: var(--shadow-md);
padding-left: 1in; /* Adds a 1-inch gap inside the section */

}

.preview-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.preview-image {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.publish-button {
    width: 100%;
    padding: var(--spacing-lg);
    background: var(--secondary);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-lg);
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.publish-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* FAQ Section Styles */
.faq-section {
    margin-top: var(--spacing-3xl);
     margin-left: 1in; /* Move the element 1 inch from the left */
    margin-right: 1in; /* Move the element 1 inch from the right */
 padding-top: var(--spacing-lg); /* Add top padding */
    padding-bottom: var(--spacing-lg); /* Add bottom padding */
}

.faq-item {
    background: var(--background-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.faq-question {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.faq-answer {
    color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .preview-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .preview-image {
        width: 140px;
        height: 196px;
    }

    .price-input,
    .trade-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-input input {
        width: 100%;
    }
}