/**
 * NFT Ownership Styles
 * Styles for the NFT ownership section in the NFT details page
 */

/* Ownership progress bar */
.ownership-progress {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ownership-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6c63ff, #8a84ff);
    width: 0%;
    transition: width 0.5s ease-in-out;
}

/* Ownership stats */
.ownership-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ownership-stat {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
    padding: 10px;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* User ownership section */
.user-ownership-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(108, 99, 255, 0.2);
}

.user-ownership-section h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.user-ownership-section h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #6c63ff;
    border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ownership-stats {
        flex-direction: column;
    }
    
    .ownership-stat {
        margin-bottom: 15px;
    }
}

/* Animation for loading state */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-ownership {
    animation: pulse 1.5s infinite;
}
