
.sharding-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#shardInput {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    padding: 0.6rem 0.9rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.shards-container {
    display: flex;
    gap: 14px;
    margin-top: 1.1rem;
}

.shard-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shard-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 0.6rem;
}

.shard-badge svg {
    width: 30px;
    height: 30px;
}

.shard {
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 8px;
    width: 150px;
    min-height: 90px;
    background: #1e293b;
}

.shard-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: center;
}

.stored-item {
    background: color-mix(in srgb, #22C55E 22%, transparent);
    border: 1px solid color-mix(in srgb, #22C55E 45%, transparent);
    padding: 2px 6px;
    margin: 2px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
